#40376C Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#40376c is a dusty, unsaturated purple that feels grounded and slightly gloomy. This inky tone creates a serious mood, making it a reliable choice for dark mode UI backgrounds or branding that requires a sense of mystery. Because it offers strong contrast against white text, it remains legible even in small sizes. Use this hex code as a steady base rather than a bright, punchy accent.
Questions about #40376c
What is #40376c in RGB, HSL and CMYK?
In RGB, #40376c is rgb(64, 55, 108), in HSL hsl(250, 33%, 32%) and in CMYK 41%, 49%, 0%, 58%.
Why is #40376c a good choice for dark mode UI?
It offers significant contrast against white text, ensuring high legibility even at smaller sizes. Because this dusty purple is unsaturated and grounded, it avoids the harsh eye strain often associated with pure black backgrounds while maintaining a professional, serious interface aesthetic.
What colors pair well with #40376c?
To complement the serious nature of #40376c, pair it with soft cream or muted gold to add warmth without disrupting the gloomy, inky atmosphere. For a balanced monochromatic palette, layer it alongside lighter variations of itself to keep the look cohesive.
Is #40376c readable on white or black?
#40376c has a 10.60:1 contrast ratio on white and 1.98: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.