Violet

#240A40

General Information about #240A40

The hex color #240A40, also known as Violet, is a dark shade of purple resulting from a combination of red and blue light, with minimal green. In the RGB color model, it consists of 14.12% red, 3.92% green, and 25.1% blue. In the CMYK color model, it is composed of 43.75% cyan, 84.44% magenta, 0% yellow, and 74.9% black. This color is often associated with royalty, luxury, and sophistication, and is used to evoke feelings of creativity and mystery. It can be found in various applications, ranging from web design to fashion, often used as an accent color to add depth and richness. Understanding the color's composition and associated meanings can help designers and artists effectively leverage it in their creative projects.

The hex color #240A40, a deep violet, presents considerable accessibility challenges, especially concerning color contrast. When used as a background color, it necessitates light-colored text to ensure readability. A contrast ratio of at least 4.5:1 is recommended for standard text and 3:1 for large text, as per WCAG guidelines. This color might not be suitable for critical elements like links or buttons without careful consideration of the foreground color. Moreover, individuals with visual impairments may struggle to distinguish elements against a #240A40 background if the contrast is insufficient. Therefore, designers should prioritize accessibility by conducting contrast checks and providing alternative themes or color schemes that offer better visibility for all users. Tools like WebAIM's contrast checker can be invaluable in this process. Proper implementation of ARIA attributes can also improve the experience for screen reader users.

Shades

Digital Color Formats

RGB
36 10 64
RGB36 10 64
Red
Green
Blue
HSL
268.89deg 72.97% 14.51%
268.8972.9714.51HSL
Hue
Saturation
Lightness
HWB
268.89deg 3.92% 74.9%
268.893.9274.9HWB
Hue
Whiteness
Blackness
hex#240A40
rgb36 10 64
hsl268.89deg 72.97% 14.51%
cmyk43.75% 84.38% 0% 74.9%
hwb268.89deg 3.92% 74.9%
xyz-d650.02 0.01 0.05
oklch0.2244 0.0957 300.68
oklab0.2244 0.05 -0.08
CMYK
43.75% 84.38% 0% 74.9%
43.7584.38074.9CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.02 0.01 0.05
0.020.010.05XYZ
X
Y
Z
OKLCH
0.2244 0.0957 300.68
0.22440.0957300.68LCH
Lightness
Chroma
Hue
OKLAB
0.2244 0.05 -0.08
0.22440.05-0.08LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons