#401851 Hex Color

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

Hex color #401851 graphic
This unsaturated, deep violet feels serious and grounded. Because it is quite dark, use hex code #401851 as a moody base for dark mode interfaces or high-contrast accenting. It supports white text beautifully, maintaining high readability in body copy. Pair this shade with soft creams or pale yellows to keep the palette from feeling too enclosed or overwhelming.

Questions about #401851

What is #401851 in RGB, HSL and CMYK?
In RGB, #401851 is rgb(64, 24, 81), in HSL hsl(282, 54%, 21%) and in CMYK 21%, 70%, 0%, 68%.
What colors pair effectively with #401851?
This deep violet serves as a strong anchor for high-contrast palettes, working exceptionally well with cream or pale yellow tones to soften its intensity. Because #401851 is quite dark, lighter accent colors prevent the overall design from feeling overly enclosed or heavy.
Is #401851 suitable for UI text or body copy?
While #401851 makes an excellent dark-mode background, it is generally too dark for body text unless paired with high-contrast white or very light neutral typography. Always check your specific contrast ratios to ensure readability remains within accessible standards for your users.
Is #401851 readable on white or black?
#401851 has a 14.31:1 contrast ratio on white and 1.46: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.