#5D1864#5D1864

#5D1864 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.138 H 323.9°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#5D1864
RGBrgb(93, 24, 100)
HSLhsl(294, 61%, 24%)
HSVhsv(294, 76%, 39%)
CMYKcmyk(7%, 76%, 0%, 60.8%)
CIE-LABlab(23.34, 41.41, -29.19)
CIE-LCHlch(23.34, 50.66, 324.81°)
OKLaboklab(35.72% 0.1117 -0.0814)
OKLCHoklch(35.72% 0.138 323.9)
XYZxyz(7.1409, 3.9010, 12.4310)
Luminance0.0390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1864 #1F6418
analogous
#371864 #5D1864 #641845
triadic
#5D1864 #645D18 #18645D
tetradic
#5D1864 #643718 #1F6418 #184564
square
#5D1864 #643718 #1F6418 #184564
split-complementary
#5D1864 #456418 #186437
monochromatic
#170619 #2F0C33 #5D1864 #8B2495 #B930C7

Accessibility & contrast

On white

11.80
#5D1864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5D1864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1864
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1864#FFFFFF#000000##FFFFFF
##5D18641.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013266
Deuteranopia (green-blind)
#263A62
Tritanopia (blue-blind)
#5F253C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d1864;
/* rgb */ color: rgb(93, 24, 100);
/* oklch */ color: oklch(35.7% 0.138 323.9);
Tailwind
colors: {
  custom: {
    50: '#8e5d90',
    500: '#5d1864',
    950: '#000000',
  },
}
SCSS
$custom: #5d1864;
$custom-light: #8e5d90;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1864",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 294.474,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3572,
    "c": 0.13816,
    "h": 323.9
  },
  "luminance": 0.03901
}

Semantic roles & 50–950 ramp

primary
#5D1864
secondary
#469A3E
accent
#E44352
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5D1864

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

Preview Lab → · Contrast checker → · Palette generator →

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