Skip to main content
matte

#5B206F

Dark Purple

#5B206F is the CSS named color "indigo", an exact match. In RGB it breaks down to red 91, green 32, and blue 111 out of 255 each. In HSL terms that's a hue of 285°, 55% saturation, and 28% lightness: quite dark, close to black — it works well as body text on a light background or as a near-black UI surface.

Every format

HEX#5b206f
RGBrgb(91, 32, 111)
HSLhsl(285° 55% 28%)
HSBhsb(285° 71% 44%)
OKLCHoklch(37% 0.137 316°)
OKLABoklab(37% 0.099 -0.095)
LCHlch(25% 50.1 317°)
CMYKcmyk(18% 71% 0% 56%)

Shades (darker)

#5b206f · #531766 · #4a0c5d · #420055 · #3a004c

Tints (lighter)

#5b206f · #6d3382 · #804596 · #9358a9 · #a76abe

Shades mix #5B206F toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.

On white: 11.16:1 — AAA
On black: 1.88:1 — fails

Frequently asked

What is #5B206F in RGB?
#5B206F is rgb(91, 32, 111) — red 91, green 32, blue 111 out of 255 each.
Does #5B206F pass WCAG contrast on a white background?
It has a contrast ratio of 11.16:1 against white, which passes WCAG AAA for normal text.
What's a good background color to pair with #5B206F?
White text or a white background gives better contrast (11.16:1) than black (1.88:1).

Related colors

Full color tools