Gradient Page

#20002C

#20002C is the HEX color code for
Mardi Gras
#20002C

Mardi Gras

Contrast
Dark
Luminance
6%
Color Conversions
Formats for Mardi Gras (#20002C) in various color spaces.
#20002C
32, 0, 44
284°, 100%, 9%
27%, 100%, 0%, 83%
0.182, 0.09, 315.2
--color-mardi-gras: #20002C;

Shades & Tints

#f8e5ff
#ebb3ff
#dd80ff
#cf4dff
#c21aff
#a800e6
#8300b3
#5e0080
#38004d
#13001a
DarkestBaseLightest

Color Harmonies

Complementary

#20002C
#0c2e00

Analogous

#0b002e
#20002C
#2e0023

Triadic

#20002C
#2e2200
#002e22

Split Complementary

#20002C
#232e00
#002e0b

UI Component Examples

See how #20002C looks when applied to real interface components.

Interactive Elements
Surface & Accent
Pro Tip!

Use lighter tints for backgrounds to maintain readability while keeping brand identity.

Status Indicator
Active
# CSS Variables
Copy-paste these variables into your global CSS to use this palette instantly.
:root {
  /* Mardi Gras Base */
  --color-primary: #20002C;
  --color-primary-rgb: 32 0 44;
  --color-primary-hsl: 284 100% 9%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #f8e5ff;
  --color-primary-100: #ebb3ff;
  --color-primary-200: #dd80ff;
  --color-primary-300: #cf4dff;
  --color-primary-400: #c21aff;
  --color-primary-500: #a800e6;
  --color-primary-600: #8300b3;
  --color-primary-700: #5e0080;
  --color-primary-800: #38004d;
  --color-primary-900: #13001a;
}

Want more?

We hope you enjoyed this color. Keep reading for more amazing colorful content for developers, designers and creators!
View our entire collection of UI gradientsView all our color names
#20002C Hex Color | Mardi Gras sl | UI Color Scheme Generator