#57127C Hex Color

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

Hex color #57127c graphic
This saturated violet has a heavy, dark presence that commands attention. Because it sits on the cooler side of the spectrum, #57127c works best as a moody base for dark interface designs or high-contrast branding. It pairs effectively with metallic accents like gold or silver. The hex code for this deep shade is #57127c, which offers excellent legibility when using white text for accessibility.

Questions about #57127c

What is #57127c in RGB, HSL and CMYK?
In RGB, #57127c is rgb(87, 18, 124), in HSL hsl(279, 75%, 28%) and in CMYK 30%, 85%, 0%, 51%.
Does #57127c work well for dark mode user interfaces?
Yes, this shade is an excellent choice for dark mode applications because it provides a rich, grounded alternative to standard black or dark grey backgrounds. It maintains deep visual interest while offering enough contrast to keep interface elements legible and distinct for users.
Is #57127c readable on white or black?
#57127c has a 11.77:1 contrast ratio on white and 1.78: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.