Violet

#221242

General Information about #221242

The hex color #221242 is a dark shade of violet, often associated with royalty, mystery, and creativity. In the RGB color model, it is composed of 13.33% red, 7.06% green, and 25.88% blue. This unique combination gives it a deep and somewhat enigmatic appearance. The color falls within the violet spectrum, leaning towards the cooler side. It is not a commonly used color in mainstream design due to its darkness and potential challenges in achieving good contrast with other elements, especially text. However, when used thoughtfully, it can add a touch of sophistication and depth to various design projects. Its closest web safe color is #330066.

The hex color #221242, a deep violet, presents some accessibility challenges, particularly when used as a background color for text. Due to its low lightness value, it requires careful consideration of contrast ratios to ensure readability. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for standard text and 3:1 for large text against a background. When pairing #221242 with text, lighter colors such as white, pale yellow, or light gray are advisable to meet these contrast requirements. Using online contrast checkers can help verify compliance. It's important to avoid using similarly dark colors for text on this background, as this would render the text illegible for many users, especially those with visual impairments. Thoughtful color choices are crucial for creating an inclusive and accessible design.

Shades

Digital Color Formats

RGB
34 18 66
RGB34 18 66
Red
Green
Blue
HSL
260deg 57.14% 16.47%
26057.1416.47HSL
Hue
Saturation
Lightness
HWB
260deg 7.06% 74.12%
2607.0674.12HWB
Hue
Whiteness
Blackness
hex#221242
rgb34 18 66
hsl260deg 57.14% 16.47%
cmyk48.48% 72.73% 0% 74.12%
hwb260deg 7.06% 74.12%
xyz-d650.02 0.01 0.05
oklch0.236 0.0863 294.12
oklab0.236 0.04 -0.08
CMYK
48.48% 72.73% 0% 74.12%
48.4872.73074.12CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.02 0.01 0.05
0.020.010.05XYZ
X
Y
Z
OKLCH
0.236 0.0863 294.12
0.2360.0863294.12LCH
Lightness
Chroma
Hue
OKLAB
0.236 0.04 -0.08
0.2360.04-0.08LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons