#5821A5 Hex Color

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

Hex color #5821a5 graphic
A deep, saturated violet with a dim, moody character. The hex code #5821a5 creates a strong, serious base for luxury branding or dark UI themes. Because of its darkness, it provides excellent contrast for white typography, making it a functional choice for text-heavy layouts. Use this shade as a dominant background to ground a design while adding a touch of mystery.

Questions about #5821a5

What is #5821a5 in RGB, HSL and CMYK?
In RGB, #5821a5 is rgb(88, 33, 165), in HSL hsl(265, 67%, 39%) and in CMYK 47%, 80%, 0%, 35%. Browse more shades of purple with names and hex codes.
How does #5821a5 perform in UI design?
The deep saturation of #5821a5 creates a strong, serious base for dark-themed interfaces while ensuring high readability against white or light gray text. It functions best as a dominant background color that anchors a layout without overwhelming the content.
Which colors pair best with #5821a5?
Because #5821a5 is a cool, intense violet, it works well with muted charcoal or soft off-white to maintain a luxury aesthetic. If you want a high-contrast pop, look for soft yellows or light metallics that sit opposite on the color wheel.
Is #5821a5 readable on white or black?
#5821a5 has a 9.65:1 contrast ratio on white and 2.17: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.