#5D1673#5D1673

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

Color values

HEX#5D1673
RGBrgb(93, 22, 115)
HSLhsl(286, 68%, 27%)
HSVhsv(286, 81%, 45%)
CMYKcmyk(19.1%, 80.9%, 0%, 54.9%)
CIE-LABlab(24.13, 45.20, -37.66)
CIE-LCHlch(24.13, 58.83, 320.20°)
OKLaboklab(36.61% 0.1121 -0.1061)
OKLCHoklch(36.61% 0.154 316.6)
XYZxyz(7.8951, 4.1391, 16.5994)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1673 #2C7316
analogous
#2E1673 #5D1673 #73165B
triadic
#5D1673 #735D16 #16735D
tetradic
#5D1673 #732E16 #2C7316 #165B73
square
#5D1673 #732E16 #2C7316 #165B73
split-complementary
#5D1673 #5B7316 #16732E
monochromatic
#15051A #330C40 #5D1673 #8720A6 #AF2DD7

Accessibility & contrast

On white

11.49
#5D1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#5D1673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1673
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1673#FFFFFF#000000##FFFFFF
##5D16731.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d1673;
/* rgb */ color: rgb(93, 22, 115);
/* oklch */ color: oklch(36.6% 0.154 316.6);
Tailwind
colors: {
  custom: {
    50: '#8e5d9c',
    500: '#5d1673',
    950: '#000000',
  },
}
SCSS
$custom: #5d1673;
$custom-light: #8e5d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1673",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 285.806,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36611,
    "c": 0.15436,
    "h": 316.6
  },
  "luminance": 0.04139
}

Semantic roles & 50–950 ramp

primary
#5D1673
secondary
#56A93C
accent
#EB3D66
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5D1673

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

Preview Lab → · Contrast checker → · Palette generator →

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