#5D206D#5D206D

#5D206D is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.2% C 0.136 H 318.6°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#5D206D
RGBrgb(93, 32, 109)
HSLhsl(288, 55%, 28%)
HSVhsv(288, 71%, 43%)
CMYKcmyk(14.7%, 70.6%, 0%, 57.3%)
CIE-LABlab(25.15, 39.82, -32.15)
CIE-LCHlch(25.15, 51.18, 321.08°)
OKLaboklab(37.21% 0.1021 -0.0901)
OKLCHoklch(37.21% 0.136 318.6)
XYZxyz(7.7907, 4.4647, 14.9164)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D206D #306D20
analogous
#36206D #5D206D #6D2057
triadic
#5D206D #6D5D20 #206D5D
tetradic
#5D206D #6D3620 #306D20 #20576D
square
#5D206D #6D3620 #306D20 #20576D
split-complementary
#5D206D #576D20 #206D36
monochromatic
#140718 #35123E #5D206D #852E9C #AB40C7

Accessibility & contrast

On white

11.09
#5D206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5D206D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D206D
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D206D#FFFFFF#000000##FFFFFF
##5D206D1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02386F
Deuteranopia (green-blind)
#243E6B
Tritanopia (blue-blind)
#5D2E44
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5d206d;
/* rgb */ color: rgb(93, 32, 109);
/* oklch */ color: oklch(37.2% 0.136 318.6);
Tailwind
colors: {
  custom: {
    50: '#8e6197',
    500: '#5d206d',
    950: '#000000',
  },
}
SCSS
$custom: #5d206d;
$custom-light: #8e6197;
$custom-dark: #000000;
JSON
{
  "hex": "#5d206d",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 287.532,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37207,
    "c": 0.13611,
    "h": 318.6
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#5D206D
secondary
#5AA148
accent
#DE4A69
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0D050D
muted
#7D797E

Preview Lab

Preview with #5D206D

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

Preview Lab → · Contrast checker → · Palette generator →

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