#42138F Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #42138f graphic
This intense, dark violet commands attention with its moody and serious character. Because of its extreme depth, #42138f works best as a primary background in high-contrast interfaces. Pair it with soft creams or warm golds to anchor the darkness, rather than relying on stark white text. The hex code #42138f offers strong accessibility for body copy, making it a reliable choice for dark mode design systems.

Questions about #42138f

What is #42138f in RGB, HSL and CMYK?
In RGB, #42138f is rgb(66, 19, 143), in HSL hsl(263, 77%, 32%) and in CMYK 54%, 87%, 0%, 44%. Browse more shades of purple with names and hex codes.
What colors pair well with #42138f for UI design?
Soft creams and muted golds provide a better balance with #42138f than stark white, creating a more sophisticated, readable interface. Use these warmer tones for text and interactive elements to anchor the deep violet background effectively.
Is #42138f suitable for long-form body text?
Using #42138f as a background is ideal for dark mode, but avoid using it for body text as its extreme depth can cause readability issues. Pair it with a very light neutral to ensure accessibility and high contrast.
Is #42138f readable on white or black?
#42138f has a 12.19:1 contrast ratio on white and 1.72:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.