Violet

#1F1048

General Information about #1F1048

The hexadecimal color code #1F1048 represents a dark shade of violet. It is composed of 12.2% red, 6.3% green, and 28.2% blue. In the RGB color model, this corresponds to 31 red, 16 green, and 72 blue. The HSL color values are H:253.7 degrees, S:64.1%, L:17.3%. This color is often associated with royalty, mystery, and sophistication. The CIE xyY value is 0.1843, 0.127, 6.1849. It is a tertiary color, being a mix of red and blue. The CMYK values are C:0.57, M:0.78, Y:0.00, K:0.72.

The hex color #1F1048, a deep violet, presents accessibility challenges, particularly for users with visual impairments. Its low luminance value of 3.74 makes it difficult to read text against a background of this color. According to WCAG guidelines, to ensure readability, text using this color should ideally be paired with a light background, such as white or a very pale yellow. Also, the contrast ratio should be checked to meet the minimum requirements for different levels of compliance (AA or AAA). Using larger font sizes and thicker font weights can also improve readability. Avoid using this color for critical information or interactive elements without sufficient contrast. When using it as a background, make sure the foreground elements stand out prominently. Consider using color contrast checker tools for precise evaluation.

Shades

Digital Color Formats

RGB
31 16 72
RGB31 16 72
Red
Green
Blue
HSL
256.07 63.64% 17.25%
256.0763.6417.25HSL
Hue
Saturation
Lightness
HWB
256.07 6.27% 71.76%
256.076.2771.76HWB
Hue
Whiteness
Blackness
hex#1F1048
rgb31 16 72
hsl256.07 63.64% 17.25%
cmyk56.94% 77.78% 0% 71.76%
hwb256.07 6.27% 71.76%
xyz1.92 1.13 6.25
CMYK
56.94% 77.78% 0% 71.76%
56.9477.78071.76CMYK
Cyan
Magenta
Yellow
Key
XYZ
1.92 1.13 6.25
1.921.136.25XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025