#5D1570#5D1570

#5D1570 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.3% C 0.153 H 318.0°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#5D1570
RGBrgb(93, 21, 112)
HSLhsl(287, 68%, 26%)
HSVhsv(287, 81%, 44%)
CMYKcmyk(17%, 81.2%, 0%, 56.1%)
CIE-LABlab(23.78, 44.93, -36.28)
CIE-LCHlch(23.78, 57.75, 321.08°)
OKLaboklab(36.3% 0.1135 -0.1021)
OKLCHoklch(36.3% 0.153 318)
XYZxyz(7.7066, 4.0337, 15.6987)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1570 #287015
analogous
#2F1570 #5D1570 #701555
triadic
#5D1570 #705D15 #15705D
tetradic
#5D1570 #702F15 #287015 #155570
square
#5D1570 #702F15 #287015 #155570
split-complementary
#5D1570 #557015 #15702F
monochromatic
#15051A #320B3C #5D1570 #881FA4 #B229D7

Accessibility & contrast

On white

11.62
#5D1570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5D1570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1570
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1570#FFFFFF#000000##FFFFFF
##5D15701.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#193B6E
Tritanopia (blue-blind)
#5C2942
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5d1570;
/* rgb */ color: rgb(93, 21, 112);
/* oklch */ color: oklch(36.3% 0.153 318.0);
Tailwind
colors: {
  custom: {
    50: '#8e5c9a',
    500: '#5d1570',
    950: '#000000',
  },
}
SCSS
$custom: #5d1570;
$custom-light: #8e5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1570",
  "rgb": {
    "r": 93,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 287.473,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36299,
    "c": 0.15263,
    "h": 318
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

primary
#5D1570
secondary
#51A63B
accent
#EB3D61
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5D1570

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

Preview Lab → · Contrast checker → · Palette generator →

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