#A51E9B Hex Color

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

Hex color #a51e9b graphic
Loud, saturated, and leaning warm, this magenta carries real heat despite its purple base. #a51e9b works best as a bold accent or call-to-action color, since covering large areas can swallow a layout. White text reads clearly on it at about 6.4:1 contrast, so it passes AA for body copy. Pair it with deep teal or charcoal to cool things down. The hex code is #a51e9b.

Questions about #a51e9b

What is #a51e9b in RGB, HSL and CMYK?
In RGB, #a51e9b is rgb(165, 30, 155), in HSL hsl(304, 69%, 38%) and in CMYK 0%, 82%, 6%, 35%. Browse more shades of purple with names and hex codes.
What text color works best on #a51e9b?
White text is the safest choice, reaching about 6.4:1 contrast, which passes WCAG AA for body text. Black text lands near 3.3:1, so keep dark type out of small sizes on this magenta.
What colors pair well with #a51e9b?
Deep teal and forest green cool its heat, while mustard yellow pushes it louder. For a softer palette, try muted sage or warm charcoal instead of plain white or black.
Is #a51e9b readable on white or black?
#a51e9b has a 6.44:1 contrast ratio on white and 3.25: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 works only for large text (24px, or 18.5px bold). Try other pairs in the contrast checker.