#6E31A1 Hex Color

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

Hex color #6e31a1 graphic
#6e31a1 is the hex code for a strong, dark violet with a cool undertone. Its high saturation gives it bold presence, but the low lightness makes it tricky as a full background, so treat it as an accent or use it in dark mode layouts. White text hits about 8.0:1 contrast, well past AA. Pair it with mustard or teal for a moody palette.

Questions about #6e31a1

What is #6e31a1 in RGB, HSL and CMYK?
In RGB, #6e31a1 is rgb(110, 49, 161), in HSL hsl(273, 53%, 41%) and in CMYK 32%, 70%, 0%, 37%.
What colors pair well with #6e31a1?
Mustard yellow, teal, and warm gold all make #6e31a1 feel richer, while soft grays tone it down. Avoid setting it next to darker purples, where its edge gets lost.
Is #6e31a1 readable on white or black?
#6e31a1 has a 8.02:1 contrast ratio on white and 2.61: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.