Mardi Gras

#2C0133

General Information about #2C0133

The hex color #2C0133, often referred to as "Mardi Gras", is a deep and rich shade of purple. It belongs to the purple color family and is characterized by its dark undertones, creating an atmosphere of mystery and luxury. In the RGB color model, #2C0133 is composed of 17.3% red, 0.4% green, and 20% blue. This combination results in a color that leans towards the violet end of the spectrum. Colors like this one are often associated with royalty, creativity, and spirituality. The hex code is a way of representing colors in HTML and CSS, allowing designers and developers to specify precise colors for their digital projects. This particular shade is well-suited for creating visually striking designs that demand attention.

The hex color #2C0133, also known as Mardi Gras, presents some accessibility challenges, primarily due to its dark nature. When used as a background color, it requires very light text to ensure sufficient contrast for readability. According to WCAG (Web Content Accessibility Guidelines), the contrast ratio between the text and background should be at least 4.5:1 for normal text and 3:1 for large text. Using a color like #2C0133 necessitates careful consideration of the text color to meet these guidelines. For users with visual impairments, insufficient contrast can make it difficult or impossible to read the content. Therefore, designers and developers must prioritize accessibility by conducting thorough contrast checks and providing alternative color schemes if necessary. Tools like WebAIM's contrast checker can be invaluable in this process, ensuring that the final product is usable by the widest possible audience. Avoid pairing this color with other dark hues, as it will exacerbate readability issues.

Shades

Digital Color Formats

RGB
44 1 51
RGB44 1 51
Red
Green
Blue
HSL
291.6deg 96.15% 10.2%
291.696.1510.2HSL
Hue
Saturation
Lightness
HWB
291.6deg 0.39% 80%
291.60.3980HWB
Hue
Whiteness
Blackness
hex#2C0133
rgb44 1 51
hsl291.6deg 96.15% 10.2%
cmyk13.73% 98.04% 0% 80%
hwb291.6deg 0.39% 80%
xyz-d650.02 0.01 0.03
oklch0.213 0.0987 321.68
oklab0.213 0.08 -0.06
CMYK
13.73% 98.04% 0% 80%
13.7398.04080CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.02 0.01 0.03
0.020.010.03XYZ
X
Y
Z
OKLCH
0.213 0.0987 321.68
0.2130.0987321.68LCH
Lightness
Chroma
Hue
OKLAB
0.213 0.08 -0.06
0.2130.08-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons