#401F72 Hex Color

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

Hex color #401f72 graphic
Dark and muted, #401f72 is a cool violet-purple with strong depth and a slightly gray undertone. Its serious, mysterious character suits moody branding, spiritual themes, gaming interfaces, and luxury packaging. Use it as a dominant dark-mode background with white text, which reaches about 12.7:1 contrast. The hex code #401f72 also works as a rich accent beside soft gold.

Questions about #401f72

What is #401f72 in RGB, HSL and CMYK?
In RGB, #401f72 is rgb(64, 31, 114), in HSL hsl(264, 57%, 28%) and in CMYK 44%, 73%, 0%, 55%.
What colors pair well with #401f72?
Soft gold creates a warm contrast with #401f72, while mauve or dusty lavender can soften its depth without losing its cool violet character; use gold sparingly for premium accents and lighter supporting areas.
What mood does #401f72 create?
#401f72 creates a serious, mysterious mood because its dark value, cool violet hue, and muted gray undertone feel more restrained than bright purple. It works well for spiritual themes, gaming interfaces, luxury packaging, and moody branding.
Is #401f72 readable on white or black?
#401f72 has a 12.67:1 contrast ratio on white and 1.65: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.