#40009A Hex Color

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

Hex color #40009a graphic
#40009a is an intense, saturated violet that leans into moody, spiritual territory. Because it is quite dark, white text offers excellent legibility against it. Use this hex code as a bold accent or a foundation for gaming and creative interfaces rather than large blocks of text, where it can overwhelm the eye. It pairs strikingly well with sharp, neon accents.

Questions about #40009a

What is #40009a in RGB, HSL and CMYK?
In RGB, #40009a is rgb(64, 0, 154), in HSL hsl(265, 100%, 30%) and in CMYK 58%, 100%, 0%, 40%.
What colors pair best with #40009a?
This deep violet works best alongside high-contrast companions to prevent the design from feeling muddy. It pairs strikingly well with sharp, neon accents or crisp white text, which ensures excellent legibility while keeping the focus on the intensity of the violet base.
Is #40009a suitable for large blocks of text?
#40009a is generally too dark and saturated for long-form reading as it can overwhelm the eye. It functions much better as a bold foundation or a vibrant call-to-action button rather than a background color for standard paragraphs or articles.
Is #40009a readable on white or black?
#40009a has a 12.46:1 contrast ratio on white and 1.68: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.