#5D1473#5D1473

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

Color values

HEX#5D1473
RGBrgb(93, 20, 115)
HSLhsl(286, 70%, 26%)
HSVhsv(286, 83%, 45%)
CMYKcmyk(19.1%, 82.6%, 0%, 54.9%)
CIE-LABlab(23.89, 45.89, -38.04)
CIE-LCHlch(23.89, 59.61, 320.34°)
OKLaboklab(36.44% 0.1138 -0.1072)
OKLCHoklch(36.44% 0.156 316.7)
XYZxyz(7.8584, 4.0656, 16.5871)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1473 #2A7314
analogous
#2E1473 #5D1473 #73145A
triadic
#5D1473 #735D14 #14735D
tetradic
#5D1473 #732E14 #2A7314 #145A73
square
#5D1473 #732E14 #2A7314 #145A73
split-complementary
#5D1473 #5A7314 #14732E
monochromatic
#15051A #330B3F #5D1473 #871DA7 #B028DA

Accessibility & contrast

On white

11.58
#5D1473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1473
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1473#FFFFFF#000000##FFFFFF
##5D14731.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d1473;
/* rgb */ color: rgb(93, 20, 115);
/* oklch */ color: oklch(36.4% 0.156 316.7);
Tailwind
colors: {
  custom: {
    50: '#8f5c9c',
    500: '#5d1473',
    950: '#000000',
  },
}
SCSS
$custom: #5d1473;
$custom-light: #8f5c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1473",
  "rgb": {
    "r": 93,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 286.105,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36443,
    "c": 0.1564,
    "h": 316.7
  },
  "luminance": 0.04065
}

Semantic roles & 50–950 ramp

primary
#5D1473
secondary
#53A93A
accent
#ED3B64
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5D1473

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

Preview Lab → · Contrast checker → · Palette generator →

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