#540099 Hex Color

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

Hex color #540099 graphic
#540099 is a dark, highly saturated purple with a cool blue-violet undertone and little softness. Its low lightness creates a serious, mysterious mood suited to moody branding, gaming, spiritual themes, and luxury accents. Use it as a strong background or dominant base, then add pale neutrals for breathing room. The hex code #540099 supports clear white text at about 11.4:1 contrast.

Questions about #540099

What is #540099 in RGB, HSL and CMYK?
In RGB, #540099 is rgb(84, 0, 153), in HSL hsl(273, 100%, 30%) and in CMYK 45%, 100%, 0%, 40%.
Does #540099 work well with white text?
#540099 works well with white text, reaching about an 11.4:1 contrast ratio and exceeding WCAG AA requirements for normal body text. That makes it useful for dark headers, buttons, navigation areas, and other interfaces with light foreground content.
What colors pair well with #540099?
#540099 pairs effectively with pale lavender, warm cream, charcoal, and muted gold because lighter or warmer values balance its dense blue-violet saturation. Use cream for softer editorial layouts, or muted gold for a more formal, luxury-oriented accent.
Is #540099 readable on white or black?
#540099 has a 11.43:1 contrast ratio on white and 1.83: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.