Violet

#1F0C4B

General Information about #1F0C4B

The hexadecimal color code #1f0c4b represents a dark shade of violet. It is composed of 12.2% red, 4.7% green, and 29.4% blue. In the RGB color model, this translates to 31 red, 12 green, and 75 blue. The color has a hue angle of 253.7 degrees, a saturation of 72.2%, and a lightness of 17.1%. This specific shade of violet conveys a sense of mystery, elegance, and sophistication. It is often associated with creativity, royalty, and spirituality. In color psychology, violet can evoke feelings of calm and introspection, making it suitable for designs aiming to create a peaceful or thoughtful atmosphere. Its relative darkness also means it's often used as an accent color rather than a primary color.

The hex color #1f0c4b, a deep violet, presents several accessibility considerations for web design. Its low luminance value of approximately 3% means that it offers very little contrast against a standard white background. This significantly impacts readability, particularly for users with visual impairments, such as low vision or color blindness. According to WCAG guidelines, sufficient contrast is crucial for text and interactive elements to be easily discernible. To improve accessibility, it's recommended to use a light color for text or interactive elements placed on a #1f0c4b background. Consider using colors like #FFFFFF (white) or other light shades of yellow or green to achieve an acceptable contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. Tools like contrast checkers can help evaluate color combinations to ensure WCAG compliance. Also, avoid using color alone to convey important information; supplement it with text or icons.

Shades

Digital Color Formats

RGB
31 12 75
RGB31 12 75
Red
Green
Blue
HSL
258.1 72.41% 17.06%
258.172.4117.06HSL
Hue
Saturation
Lightness
HWB
258.1 4.71% 70.59%
258.14.7170.59HWB
Hue
Whiteness
Blackness
hex#1F0C4B
rgb31 12 75
hsl258.1 72.41% 17.06%
cmyk58.67% 84% 0% 70.59%
hwb258.1 4.71% 70.59%
xyz1.97 1.06 6.76
CMYK
58.67% 84% 0% 70.59%
58.6784070.59CMYK
Cyan
Magenta
Yellow
Key
XYZ
1.97 1.06 6.76
1.971.066.76XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025