Mardi Gras

#310334

About Hex Color #310334

The hexadecimal color code #310334 represents a dark, muted shade of purple. It is composed of 19.2% red, 1.2% green, and 20.4% blue. In the RGB color model, this equates to 49 red, 3 green, and 52 blue. The color is often associated with themes of royalty, mystery, and luxury. It has a relatively low saturation and brightness, which gives it a subdued and sophisticated appearance. This color is commonly used in graphic design, web design, and fashion to convey a sense of elegance and depth, especially when paired with complementary or contrasting colors.

The color #310334, a deep, saturated purple, presents significant accessibility challenges. Its low luminance value results in poor contrast against both white and black backgrounds. This makes it difficult for individuals with visual impairments, such as low vision or color blindness, to distinguish text or graphical elements rendered in this color. To ensure inclusivity, it's crucial to pair #310334 with a very light color for text or interactive elements. A contrast ratio of at least 4.5:1 is recommended for standard text and 3:1 for large text, as per WCAG guidelines. Consider using contrast checking tools during development to verify compliance and avoid excluding users. For purely decorative elements, contrast requirements are less strict, but it is still good practice to aim for reasonable contrast where possible.

Shades

Digital Color Formats

RGB
49 3 52
RGB49 3 52
Red
Green
Blue
HSL
296.33deg 89.09% 10.78%
296.3389.0910.78HSL
Hue
Saturation
Lightness
HWB
296.33deg 1.18% 79.61%
296.331.1879.61HWB
Hue
Whiteness
Blackness
hex#310334
rgb49 3 52
hsl296.33deg 89.09% 10.78%
cmyk5.77% 94.23% 0% 79.61%
hwb296.33deg 1.18% 79.61%
xyz-d650.02 0.01 0.03
oklch0.2261 0.0982 325.43
oklab0.2261 0.08 -0.06
CMYK
5.77% 94.23% 0% 79.61%
5.7794.23079.61CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.02 0.01 0.03
0.020.010.03XYZ
X
Y
Z
OKLCH
0.2261 0.0982 325.43
0.22610.0982325.43LCH
Lightness
Chroma
Hue
OKLAB
0.2261 0.08 -0.06
0.22610.08-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons