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

#5a1a91 is a dark, saturated violet with a cool, grounded intensity. Because of its weight, it serves best as a moody background or a strong accent rather than a primary fill. It offers excellent contrast for white text, which makes it a safe choice for dark-mode interfaces. Use this hex code to anchor designs that require a sense of mystery or luxury.
Questions about #5a1a91
What is #5a1a91 in RGB, HSL and CMYK?
In RGB, #5a1a91 is rgb(90, 26, 145), in HSL hsl(272, 70%, 34%) and in CMYK 38%, 82%, 0%, 43%. Browse more shades of purple with names and hex codes.
What colors pair well with #5a1a91?
Is #5a1a91 a good choice for text-heavy interfaces?
Because #5a1a91 is quite dark, it functions best as a background rather than a text color. If you use it as a background, ensure your foreground text is a high-contrast hue like white or a very light ivory to maintain readability.
Is #5a1a91 readable on white or black?
#5a1a91 has a 10.54:1 contrast ratio on white and 1.99: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.