#5E1864#5E1864

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

Color values

HEX#5E1864
RGBrgb(94, 24, 100)
HSLhsl(295, 61%, 24%)
HSVhsv(295, 76%, 39%)
CMYKcmyk(6%, 76%, 0%, 60.8%)
CIE-LABlab(23.52, 41.65, -28.90)
CIE-LCHlch(23.52, 50.69, 325.24°)
OKLaboklab(35.88% 0.1129 -0.0805)
OKLCHoklch(35.88% 0.139 324.5)
XYZxyz(7.2428, 3.9535, 12.4357)
Luminance0.0395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1864 #1E6418
analogous
#381864 #5E1864 #641844
triadic
#5E1864 #645E18 #18645E
tetradic
#5E1864 #643818 #1E6418 #184464
square
#5E1864 #643818 #1E6418 #184464
split-complementary
#5E1864 #446418 #186438
monochromatic
#170619 #300C33 #5E1864 #8C2495 #BB30C7

Accessibility & contrast

On white

11.73
#5E1864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1864
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1864#FFFFFF#000000##FFFFFF
##5E18641.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023366
Deuteranopia (green-blind)
#273B62
Tritanopia (blue-blind)
#60253C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e1864;
/* rgb */ color: rgb(94, 24, 100);
/* oklch */ color: oklch(35.9% 0.139 324.5);
Tailwind
colors: {
  custom: {
    50: '#8e5d90',
    500: '#5e1864',
    950: '#000000',
  },
}
SCSS
$custom: #5e1864;
$custom-light: #8e5d90;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1864",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 295.263,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3588,
    "c": 0.13866,
    "h": 324.5
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#5E1864
secondary
#459A3E
accent
#E44350
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E1864

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

Preview Lab → · Contrast checker → · Palette generator →

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