Mardi Gras

#2E003E

General Information about #2E003E

The hex color code #2E003E, also known as Mardi Gras, represents a deep and rich shade of purple. In the RGB color model, it is composed of 18.43% red, 0% green, and 24.31% blue. This color often evokes feelings of luxury, royalty, and mystery. In terms of color theory, Mardi Gras belongs to the purple color family, which is created by combining red and blue. Purple shades are often associated with creativity, wisdom, and spirituality. In web design and graphic design, this color can be used to create a sense of sophistication and elegance. Its hexadecimal triplet is 2E003E representing 46 Red, 0 Green, and 62 Blue.

The color #2E003E, also known as Mardi Gras, presents some accessibility challenges due to its dark nature. When used as a background color, it requires very light text (white or near-white) to ensure sufficient contrast for readability, meeting WCAG (Web Content Accessibility Guidelines) standards. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. If used for interactive elements like buttons or links, hover and focus states should be clearly distinguishable, often achieved with lighter shades or complementary colors. Designers should consider users with visual impairments and test color combinations with accessibility tools to guarantee usability. It's crucial to avoid using this color for essential information without adequate contrast to prevent excluding users with low vision or color blindness. Proper implementation of ARIA attributes can further enhance accessibility.

Shades

Digital Color Formats

RGB
46 0 62
RGB46 0 62
Red
Green
Blue
HSL
284.52deg 100% 12.16%
284.5210012.16HSL
Hue
Saturation
Lightness
HWB
284.52deg 0% 75.69%
284.52075.69HWB
Hue
Whiteness
Blackness
hex#2E003E
rgb46 0 62
hsl284.52deg 100% 12.16%
cmyk25.81% 100% 0% 75.69%
hwb284.52deg 0% 75.69%
xyz-d650.02 0.01 0.05
oklch0.2254 0.1111 314.91
oklab0.2254 0.08 -0.08
CMYK
25.81% 100% 0% 75.69%
25.81100075.69CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.02 0.01 0.05
0.020.010.05XYZ
X
Y
Z
OKLCH
0.2254 0.1111 314.91
0.22540.1111314.91LCH
Lightness
Chroma
Hue
OKLAB
0.2254 0.08 -0.08
0.22540.08-0.08LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons