#402E5A Hex Color

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

Hex color #402e5a graphic
A dark, muted purple, #402e5a has a cool, dusty violet undertone and low lightness. Its restrained saturation creates a serious, mysterious mood suited to dark-mode interfaces, luxury branding, and spiritual or creative projects. Use it as a dominant background with white text, which reaches about 12:1 contrast. The hex code for this color is #402e5a.

Questions about #402e5a

What is #402e5a in RGB, HSL and CMYK?
In RGB, #402e5a is rgb(64, 46, 90), in HSL hsl(265, 32%, 27%) and in CMYK 29%, 49%, 0%, 65%. Browse more shades of purple with names and hex codes.
What colors pair well with #402e5a?
#402e5a pairs well with white for crisp contrast, pale lavender for a monochromatic look, muted gold for restrained luxury, and soft mauve for a gentler palette that keeps its cool depth.
Does #402e5a look warm or cool?
#402e5a reads as a cool purple because its blue component is strongest, while its low lightness and muted saturation create a dusty, serious character instead of a bright or playful appearance.
Where does #402e5a work well in design?
#402e5a works well as a dark background, header, button, or accent in dark-mode interfaces, luxury branding, and spiritual or creative layouts, especially when light text and clear spacing help its deep tone remain readable.
Is #402e5a readable on white or black?
#402e5a has a 11.95:1 contrast ratio on white and 1.75: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.