#5A0F6B Hex Color

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

Hex color #5a0f6b graphic
Not a bright violet, #5a0f6b is a dark, dim purple that sits close to black. Its low lightness gives it a gloomy, serious mood suited to luxury branding, gaming, and dark mode backgrounds. The hex code works best as a dominant base with white text, which clears WCAG AA at about 12.2:1 contrast. Pair it with muted gold to keep the richness without going flat.

Questions about #5a0f6b

What is #5a0f6b in RGB, HSL and CMYK?
In RGB, #5a0f6b is rgb(90, 15, 107), in HSL hsl(289, 75%, 24%) and in CMYK 16%, 86%, 0%, 58%. Browse more shades of purple with names and hex codes.
What colors pair well with #5a0f6b?
Muted gold, dusty rose, and desaturated teal all flatter #5a0f6b without fighting its darkness. Skip bright yellows and pure black, since both flatten the purple instead of letting it read rich.
Is #5a0f6b readable on white or black?
#5a0f6b has a 12.24: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.