#5D1573#5D1573

#5D1573 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.5% C 0.155 H 316.6°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#5D1573
RGBrgb(93, 21, 115)
HSLhsl(286, 69%, 27%)
HSVhsv(286, 82%, 45%)
CMYKcmyk(19.1%, 81.7%, 0%, 54.9%)
CIE-LABlab(24.00, 45.55, -37.85)
CIE-LCHlch(24.00, 59.23, 320.27°)
OKLaboklab(36.53% 0.113 -0.1067)
OKLCHoklch(36.53% 0.155 316.6)
XYZxyz(7.8764, 4.1016, 16.5931)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1573 #2B7315
analogous
#2E1573 #5D1573 #73155A
triadic
#5D1573 #735D15 #15735D
tetradic
#5D1573 #732E15 #2B7315 #155A73
square
#5D1573 #732E15 #2B7315 #155A73
split-complementary
#5D1573 #5A7315 #15732E
monochromatic
#15051A #330C3F #5D1573 #871EA7 #AF2AD8

Accessibility & contrast

On white

11.54
#5D1573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5D1573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1573
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1573#FFFFFF#000000##FFFFFF
##5D15731.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#153B71
Tritanopia (blue-blind)
#5C2B44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5d1573;
/* rgb */ color: rgb(93, 21, 115);
/* oklch */ color: oklch(36.5% 0.155 316.6);
Tailwind
colors: {
  custom: {
    50: '#8f5c9c',
    500: '#5d1573',
    950: '#000000',
  },
}
SCSS
$custom: #5d1573;
$custom-light: #8f5c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1573",
  "rgb": {
    "r": 93,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 285.957,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36526,
    "c": 0.1554,
    "h": 316.6
  },
  "luminance": 0.04101
}

Semantic roles & 50–950 ramp

primary
#5D1573
secondary
#55A93B
accent
#EC3C65
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5D1573

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

Preview Lab → · Contrast checker → · Palette generator →

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