#5E1863#5E1863

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

Color values

HEX#5E1863
RGBrgb(94, 24, 99)
HSLhsl(296, 61%, 24%)
HSVhsv(296, 76%, 39%)
CMYKcmyk(5.1%, 75.8%, 0%, 61.2%)
CIE-LABlab(23.45, 41.45, -28.35)
CIE-LCHlch(23.45, 50.22, 325.63°)
OKLaboklab(35.81% 0.1129 -0.0789)
OKLCHoklch(35.81% 0.138 325.1)
XYZxyz(7.1947, 3.9343, 12.1824)
Luminance0.0393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1863 #1D6318
analogous
#391863 #5E1863 #631843
triadic
#5E1863 #635E18 #18635E
tetradic
#5E1863 #633918 #1D6318 #184363
square
#5E1863 #633918 #1D6318 #184363
split-complementary
#5E1863 #436318 #186339
monochromatic
#170619 #2F0C32 #5E1863 #8D2494 #BC30C6

Accessibility & contrast

On white

11.75
#5E1863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1863
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1863#FFFFFF#000000##FFFFFF
##5E18631.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1863;
/* rgb */ color: rgb(94, 24, 99);
/* oklch */ color: oklch(35.8% 0.138 325.1);
Tailwind
colors: {
  custom: {
    50: '#8e5d90',
    500: '#5e1863',
    950: '#000000',
  },
}
SCSS
$custom: #5e1863;
$custom-light: #8e5d90;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1863",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 296,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35814,
    "c": 0.13775,
    "h": 325.1
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#5E1863
secondary
#44993E
accent
#E4444E
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E1863

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

Preview Lab → · Contrast checker → · Palette generator →

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