#2A1FC4 Hex Color

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

Hex color #2a1fc4 graphic
Dark and highly saturated, #2a1fc4 is a cool indigo with a slight violet cast. Its strong chroma gives layouts a focused, authoritative feel, while its low lightness adds mystery and depth. Use it as a dominant background or bold brand accent. White text on it reaches about a 10.0:1 contrast ratio, clearing WCAG AA for body text. The hex code is #2a1fc4.

Questions about #2a1fc4

What is #2a1fc4 in RGB, HSL and CMYK?
In RGB, #2a1fc4 is rgb(42, 31, 196), in HSL hsl(244, 73%, 45%) and in CMYK 79%, 84%, 0%, 23%.
What colors pair well with #2a1fc4?
#2a1fc4 pairs well with white, charcoal, burgundy, and muted gold, which balance its intense blue-violet saturation without competing for attention. Use white for readable text, charcoal for softer contrast, and burgundy or muted gold for a richer editorial or luxury palette.
Is #2a1fc4 suitable for text and backgrounds?
#2a1fc4 works well as a dark background because white text has about a 10.0:1 contrast ratio against it, exceeding the 4.5:1 WCAG AA threshold for normal body text. Test lighter or colored text separately, since saturation can change the result.
Is #2a1fc4 readable on white or black?
#2a1fc4 has a 10.04:1 contrast ratio on white and 2.09: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.