#5D1373#5D1373

#5D1373 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.4% C 0.157 H 316.8°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#5D1373
RGBrgb(93, 19, 115)
HSLhsl(286, 72%, 26%)
HSVhsv(286, 83%, 45%)
CMYKcmyk(19.1%, 83.5%, 0%, 54.9%)
CIE-LABlab(23.77, 46.22, -38.23)
CIE-LCHlch(23.77, 59.98, 320.41°)
OKLaboklab(36.36% 0.1147 -0.1078)
OKLCHoklch(36.36% 0.157 316.8)
XYZxyz(7.8411, 4.0310, 16.5814)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1373 #297313
analogous
#2D1373 #5D1373 #731359
triadic
#5D1373 #735D13 #13735D
tetradic
#5D1373 #732D13 #297313 #135973
square
#5D1373 #732D13 #297313 #135973
split-complementary
#5D1373 #597313 #13732D
monochromatic
#15041A #330A3E #5D1373 #871CA8 #B125DB

Accessibility & contrast

On white

11.63
#5D1373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1373
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1373#FFFFFF#000000##FFFFFF
##5D13731.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#133B71
Tritanopia (blue-blind)
#5C2A44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5d1373;
/* rgb */ color: rgb(93, 19, 115);
/* oklch */ color: oklch(36.4% 0.157 316.8);
Tailwind
colors: {
  custom: {
    50: '#8f5b9c',
    500: '#5d1373',
    950: '#000000',
  },
}
SCSS
$custom: #5d1373;
$custom-light: #8f5b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1373",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 286.25,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36363,
    "c": 0.15738,
    "h": 316.8
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#5D1373
secondary
#52AA38
accent
#EE3963
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5D1373

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

Preview Lab → · Contrast checker → · Palette generator →

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