#5D206B#5D206B

#5D206B is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.1% C 0.134 H 319.6°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#5D206B
RGBrgb(93, 32, 107)
HSLhsl(289, 54%, 27%)
HSVhsv(289, 70%, 42%)
CMYKcmyk(13.1%, 70.1%, 0%, 58%)
CIE-LABlab(25.02, 39.39, -31.07)
CIE-LCHlch(25.02, 50.17, 321.73°)
OKLaboklab(37.07% 0.1021 -0.0869)
OKLCHoklch(37.07% 0.134 319.6)
XYZxyz(7.6842, 4.4221, 14.3559)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D206B #2E6B20
analogous
#38206B #5D206B #6B2054
triadic
#5D206B #6B5D20 #206B5D
tetradic
#5D206B #6B3820 #2E6B20 #20546B
square
#5D206B #6B3820 #2E6B20 #20546B
split-complementary
#5D206B #546B20 #206B38
monochromatic
#140718 #34123C #5D206B #862E9A #AD40C6

Accessibility & contrast

On white

11.14
#5D206B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#5D206B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D206B
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D206B#FFFFFF#000000##FFFFFF
##5D206B1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06376D
Deuteranopia (green-blind)
#263D69
Tritanopia (blue-blind)
#5D2D42
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5d206b;
/* rgb */ color: rgb(93, 32, 107);
/* oklch */ color: oklch(37.1% 0.134 319.6);
Tailwind
colors: {
  custom: {
    50: '#8e6196',
    500: '#5d206b',
    950: '#000000',
  },
}
SCSS
$custom: #5d206b;
$custom-light: #8e6196;
$custom-dark: #000000;
JSON
{
  "hex": "#5d206b",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 107
  },
  "hsl": {
    "h": 288.8,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37071,
    "c": 0.13409,
    "h": 319.6
  },
  "luminance": 0.04422
}

Semantic roles & 50–950 ramp

primary
#5D206B
secondary
#589F48
accent
#DD4A66
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #5D206B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5D206B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva