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

A dark, cool violet with strong saturation, #40045c brings mystery and seriousness to a palette. Its deep value suits luxury branding, spiritual themes, gaming interfaces, and moody backgrounds. Use it as a dominant base with pale lavender or muted gold accents. The hex code #40045c also supports highly readable white body text, with about a 15.1:1 contrast ratio.
Questions about #40045c
What is #40045c in RGB, HSL and CMYK?
In RGB, #40045c is rgb(64, 4, 92), in HSL hsl(281, 92%, 19%) and in CMYK 30%, 96%, 0%, 64%.
What colors pair well with #40045c?
Pale lavender and muted gold create a strong pairing with #40045c, softening its cool darkness while preserving a luxurious, mystical mood; charcoal or warm cream can also support quieter layouts without competing for attention.
Does #40045c look warm or cool?
#40045c reads as a cool violet because its blue component outweighs its red component, while its low lightness and strong saturation add a serious, mysterious feel suited to dark interfaces, spiritual themes, and luxury accents.
Is #40045c readable on white or black?
#40045c has a 15.10:1 contrast ratio on white and 1.38: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.