#40104F Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This dark, muted violet feels grounded and serious. Because of its low lightness, #40104f works best as a moody background or a heavy base for gaming interfaces. It provides enough contrast for white text to remain readable, though it can appear muddy if used in large, flat blocks. This hex code pairs well with bright, neon accents to create a sharp, high-energy contrast.
Questions about #40104f
What is #40104f in RGB, HSL and CMYK?
In RGB, #40104f is rgb(64, 16, 79), in HSL hsl(286, 66%, 19%) and in CMYK 19%, 80%, 0%, 69%.
What colors pair best with #40104f?
#40104f creates a high-energy, sharp contrast when paired with bright neon accents or saturated electric blues. For a more sophisticated palette, try balancing this deep violet with cream or light silver to keep the interface readable.
Is #40104f a good choice for text-heavy designs?
Using #40104f as a background for standard body text is risky because of its low lightness. It works best as a container or header color, provided you use high-contrast white or very pale typography to ensure legibility for your users.
Is #40104f readable on white or black?
#40104f has a 14.94:1 contrast ratio on white and 1.40: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.