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

Dark and highly saturated, #400080 is a cool, purplish violet with a shadowed, serious character. Its depth suggests mystery, spirituality, and structure, making it effective for luxury branding, gaming interfaces, moody backgrounds, and dramatic typography. Use the hex code #400080 as a dominant dark base with white text, which reaches about 13.7:1 contrast for clear body copy.
Questions about #400080
What is #400080 in RGB, HSL and CMYK?
In RGB, #400080 is rgb(64, 0, 128), in HSL hsl(270, 100%, 25%) and in CMYK 50%, 100%, 0%, 50%. Browse more shades of purple with names and hex codes.
What colors pair well with #400080?
#400080 pairs especially well with white for crisp contrast, while pale lavender or soft gray can soften its depth; muted gold accents add warmth without competing with its cool violet base.
Does #400080 read as warm or cool?
#400080 reads as a cool color because its blue-violet bias gives it a shadowed, restrained feel; use it for dramatic typography, immersive interfaces, spiritual themes, or luxury accents where a serious mood is useful.
Is #400080 readable on white or black?
#400080 has a 13.72:1 contrast ratio on white and 1.52: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.