#51127A Hex Color

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

Hex color #51127a graphic
This deep, dark violet feels moody and sophisticated. Because #51127a is quite saturated, it works best as a bold accent or a foundation for darker UI themes rather than a background for long-form text. It pairs well with muted metallics like brass or cool grays, which help ground the intensity. The hex code for this powerful purple is #51127a.

Questions about #51127a

What is #51127a in RGB, HSL and CMYK?
In RGB, #51127a is rgb(81, 18, 122), in HSL hsl(276, 74%, 27%) and in CMYK 34%, 85%, 0%, 52%.
How should I use #51127a in a design project?
Use #51127a as an accent color for buttons or navigation bars rather than for long blocks of text. Because this violet is highly saturated, it serves as an excellent anchor for darker, moody UI themes when paired with cool grays.
Does #51127a work well with other colors?
This deep violet pairs beautifully with muted metallics like brass, which help balance its high intensity. It also looks professional alongside soft neutral tones, providing a grounded contrast that prevents the purple from overwhelming the overall layout of your design.
Is #51127a readable on white or black?
#51127a has a 12.22:1 contrast ratio on white and 1.71: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.