#5D206C#5D206C

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

Color values

HEX#5D206C
RGBrgb(93, 32, 108)
HSLhsl(288, 54%, 27%)
HSVhsv(288, 70%, 42%)
CMYKcmyk(13.9%, 70.4%, 0%, 57.6%)
CIE-LABlab(25.09, 39.60, -31.61)
CIE-LCHlch(25.09, 50.67, 321.40°)
OKLaboklab(37.14% 0.1021 -0.0885)
OKLCHoklch(37.14% 0.135 319.1)
XYZxyz(7.7371, 4.4432, 14.6345)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D206C #2F6C20
analogous
#37206C #5D206C #6C2055
triadic
#5D206C #6C5D20 #206C5D
tetradic
#5D206C #6C3720 #2F6C20 #20556C
square
#5D206C #6C3720 #2F6C20 #20556C
split-complementary
#5D206C #556C20 #206C37
monochromatic
#140718 #34123D #5D206C #862E9B #AC40C6

Accessibility & contrast

On white

11.12
#5D206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D206C
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D206C#FFFFFF#000000##FFFFFF
##5D206C1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04376E
Deuteranopia (green-blind)
#253E6A
Tritanopia (blue-blind)
#5D2E43
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5d206c;
/* rgb */ color: rgb(93, 32, 108);
/* oklch */ color: oklch(37.1% 0.135 319.1);
Tailwind
colors: {
  custom: {
    50: '#8e6196',
    500: '#5d206c',
    950: '#000000',
  },
}
SCSS
$custom: #5d206c;
$custom-light: #8e6196;
$custom-dark: #000000;
JSON
{
  "hex": "#5d206c",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 288.158,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37139,
    "c": 0.1351,
    "h": 319.1
  },
  "luminance": 0.04443
}

Semantic roles & 50–950 ramp

primary
#5D206C
secondary
#59A048
accent
#DE4A67
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #5D206C

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

Preview Lab → · Contrast checker → · Palette generator →

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