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

#403478 is a dark, muted violet with a dusty, matte quality that feels serious and grounded. Because it lacks intense saturation, it works well as a moody background color for dark mode interfaces. It pairs effectively with soft, warm creams rather than stark whites to maintain a balanced contrast. The hex code for this deep shade is #403478.
Questions about #403478
What is #403478 in RGB, HSL and CMYK?
In RGB, #403478 is rgb(64, 52, 120), in HSL hsl(251, 40%, 34%) and in CMYK 47%, 57%, 0%, 53%. Browse more shades of purple with names and hex codes.
How does #403478 perform in UI design?
#403478 functions exceptionally well as a dark mode background because its desaturated nature reduces eye strain compared to pure or highly saturated purples. It maintains a sense of depth and professionalism without feeling overly aggressive on screen.
What colors pair best with #403478?
This deep violet thrives when paired with soft, warm neutrals like cream or light beige rather than stark, bright whites. These warm offsets ground the cool undertones of #403478, creating a more harmonious and accessible color scheme.
Is #403478 readable on white or black?
#403478 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.