#5A1C7C Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This dark, saturated purple carries a moody intensity that works well for bold brand identities or gaming interfaces. Because of its high contrast against white text, it functions effectively as a base color in dark mode designs. The hex code for this color is #5a1c7c. Pair it with soft gold accents to highlight its regal character or use it sparingly to avoid overwhelming your layout.
Questions about #5a1c7c
What is #5a1c7c in RGB, HSL and CMYK?
In RGB, #5a1c7c is rgb(90, 28, 124), in HSL hsl(279, 63%, 30%) and in CMYK 27%, 77%, 0%, 51%.
What colors pair best with #5a1c7c for a balanced design?
Is #5a1c7c readable on white or black?
#5a1c7c has a 11.10:1 contrast ratio on white and 1.89: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.