#400099 Hex Color

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

Hex color #400099 graphic
This dark, saturated purple carries a sense of weight and seriousness perfect for moody, high-contrast UI designs. Because it is so deep, it serves best as a dominant background or a bold accent color rather than fine text. Pair #400099 with bright white to ensure readability, as it offers a strong 12.5:1 contrast. The hex code for this intense violet is #400099.

Questions about #400099

What is #400099 in RGB, HSL and CMYK?
In RGB, #400099 is rgb(64, 0, 153), in HSL hsl(265, 100%, 30%) and in CMYK 58%, 100%, 0%, 40%.
What colors pair best with the intense #400099 purple?
This deep violet works best alongside crisp whites or light grays to ensure high legibility and balance. For a bold look, try pairing #400099 with a soft lemon yellow, as the complementary warmth creates a dynamic, high-contrast visual tension.
Is #400099 suitable for body text or fine UI elements?
Because #400099 is so dark and saturated, it is generally too heavy for body text and can cause eye strain. It is better reserved for large headers, background sections, or bold call-to-action buttons where readability is not a factor.
Is #400099 readable on white or black?
#400099 has a 12.51:1 contrast ratio on white and 1.67: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.