#5D1374#5D1374

#5D1374 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.4% C 0.158 H 316.3°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#5D1374
RGBrgb(93, 19, 116)
HSLhsl(286, 72%, 26%)
HSVhsv(286, 84%, 45%)
CMYKcmyk(19.8%, 83.6%, 0%, 54.5%)
CIE-LABlab(23.85, 46.43, -38.75)
CIE-LCHlch(23.85, 60.47, 320.15°)
OKLaboklab(36.44% 0.1145 -0.1093)
OKLCHoklch(36.44% 0.158 316.3)
XYZxyz(7.8990, 4.0542, 16.8861)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1374 #2A7413
analogous
#2D1374 #5D1374 #74135B
triadic
#5D1374 #745D13 #13745D
tetradic
#5D1374 #742D13 #2A7413 #135B74
square
#5D1374 #742D13 #2A7413 #135B74
split-complementary
#5D1374 #5B7413 #13742D
monochromatic
#15041A #330A3F #5D1374 #871CA9 #B026DB

Accessibility & contrast

On white

11.60
#5D1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1374
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1374#FFFFFF#000000##FFFFFF
##5D13741.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#123B72
Tritanopia (blue-blind)
#5B2A44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5d1374;
/* rgb */ color: rgb(93, 19, 116);
/* oklch */ color: oklch(36.4% 0.158 316.3);
Tailwind
colors: {
  custom: {
    50: '#8f5b9d',
    500: '#5d1374',
    950: '#000000',
  },
}
SCSS
$custom: #5d1374;
$custom-light: #8f5b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1374",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 285.773,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36441,
    "c": 0.15829,
    "h": 316.3
  },
  "luminance": 0.04054
}

Semantic roles & 50–950 ramp

primary
#5D1374
secondary
#53AA38
accent
#EF3964
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5D1374

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

Preview Lab → · Contrast checker → · Palette generator →

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