#5D2071#5D2071

#5D2071 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.5% C 0.140 H 316.6°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#5D2071
RGBrgb(93, 32, 113)
HSLhsl(285, 56%, 28%)
HSVhsv(285, 72%, 44%)
CMYKcmyk(17.7%, 71.7%, 0%, 55.7%)
CIE-LABlab(25.42, 40.68, -34.29)
CIE-LCHlch(25.42, 53.21, 319.87°)
OKLaboklab(37.49% 0.1018 -0.0963)
OKLCHoklch(37.49% 0.14 316.6)
XYZxyz(8.0109, 4.5528, 16.0764)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2071 #347120
analogous
#342071 #5D2071 #71205C
triadic
#5D2071 #715D20 #20715D
tetradic
#5D2071 #713420 #347120 #205C71
square
#5D2071 #713420 #347120 #205C71
split-complementary
#5D2071 #5C7120 #207134
monochromatic
#140718 #361241 #5D2071 #842EA1 #A842C9

Accessibility & contrast

On white

10.99
#5D2071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#5D2071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2071
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2071#FFFFFF#000000##FFFFFF
##5D20711.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#213E6F
Tritanopia (blue-blind)
#5C3046
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5d2071;
/* rgb */ color: rgb(93, 32, 113);
/* oklch */ color: oklch(37.5% 0.140 316.6);
Tailwind
colors: {
  custom: {
    50: '#8e619a',
    500: '#5d2071',
    950: '#000000',
  },
}
SCSS
$custom: #5d2071;
$custom-light: #8e619a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2071",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 285.185,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37486,
    "c": 0.14017,
    "h": 316.6
  },
  "luminance": 0.04552
}

Semantic roles & 50–950 ramp

primary
#5D2071
secondary
#5FA548
accent
#DF496E
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0D050E
muted
#7D797E

Preview Lab

Preview with #5D2071

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

Preview Lab → · Contrast checker → · Palette generator →

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