#42026B Hex Color

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

Hex color #42026b graphic
This deep, saturated violet carries a heavy, serious presence. Because it is so dark, avoid using it as a full-page background, as it can feel oppressive. Instead, apply #42026b as a dominant brand color or an accent for moody, high-contrast UI elements. It pairs well with crisp white text, which remains highly readable against this shade. The hex code for this color is #42026b.

Questions about #42026b

What is #42026b in RGB, HSL and CMYK?
In RGB, #42026b is rgb(66, 2, 107), in HSL hsl(277, 96%, 21%) and in CMYK 38%, 98%, 0%, 58%. Browse more shades of purple with names and hex codes.
How should I use #42026b in web design?
Apply #42026b as a dominant accent or for interactive UI elements rather than as a background, as its dark intensity can overwhelm text readability. It creates a striking, modern look when paired with clean, high-contrast white text.
What colors pair well with #42026b?
This deep violet works beautifully with neutral shades like light gray or cream to balance its heavy presence. For a bold, complementary effect, consider subtle accents of mustard yellow or lime green to lift the mood.
Is #42026b readable on white or black?
#42026b has a 14.45:1 contrast ratio on white and 1.45: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.