#400040 Hex Color
Deep Plum, Shadowed Charm

Dark magenta with barely any red lifting it, #400040 sits close to black and carries a gloomy, secretive mood. Best used as a dominant base in moody layouts or nightlife branding. Its hex code gives strong contrast with white text, about 16.3 to 1, so small type stays readable on top.
Questions about #400040
What is #400040 in RGB, HSL and CMYK?
In RGB, #400040 is rgb(64, 0, 64), in HSL hsl(300, 100%, 13%) and in CMYK 0%, 100%, 0%, 75%. Browse more shades of purple with names and hex codes.
What colors pair well with #400040?
What mood does #400040 convey?
The hex code #400040 reads as mysterious, romantic, and serious. Its darkness pulls the magenta toward gloom and intimacy, which suits cosmetics, confectionery, and nightlife designs more than playful children's work.
Is #400040 readable on white or black?
#400040 has a 16.25:1 contrast ratio on white and 1.29: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.