#5D1867#5D1867

#5D1867 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.9% C 0.141 H 322.3°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#5D1867
RGBrgb(93, 24, 103)
HSLhsl(292, 62%, 25%)
HSVhsv(292, 77%, 40%)
CMYKcmyk(9.7%, 76.7%, 0%, 59.6%)
CIE-LABlab(23.54, 42.00, -30.84)
CIE-LCHlch(23.54, 52.11, 323.71°)
OKLaboklab(35.93% 0.1115 -0.0862)
OKLCHoklch(35.93% 0.141 322.3)
XYZxyz(7.2888, 3.9601, 13.2098)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1867 #226718
analogous
#351867 #5D1867 #67184A
triadic
#5D1867 #675D18 #18675D
tetradic
#5D1867 #673518 #226718 #184A67
square
#5D1867 #673518 #226718 #184A67
split-complementary
#5D1867 #4A6718 #186735
monochromatic
#160619 #300C35 #5D1867 #8A2499 #B72FCA

Accessibility & contrast

On white

11.72
#5D1867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5D1867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1867
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1867#FFFFFF#000000##FFFFFF
##5D18671.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#233B65
Tritanopia (blue-blind)
#5E273E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d1867;
/* rgb */ color: rgb(93, 24, 103);
/* oklch */ color: oklch(35.9% 0.141 322.3);
Tailwind
colors: {
  custom: {
    50: '#8e5d93',
    500: '#5d1867',
    950: '#000000',
  },
}
SCSS
$custom: #5d1867;
$custom-light: #8e5d93;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1867",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 292.405,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35925,
    "c": 0.14092,
    "h": 322.3
  },
  "luminance": 0.0396
}

Semantic roles & 50–950 ramp

primary
#5D1867
secondary
#4A9D3E
accent
#E54357
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5D1867

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

Preview Lab → · Contrast checker → · Palette generator →

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