#5E1367#5E1367

#5E1367 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.147 H 323.2°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#5E1367
RGBrgb(94, 19, 103)
HSLhsl(294, 69%, 24%)
HSVhsv(294, 82%, 40%)
CMYKcmyk(8.7%, 81.6%, 0%, 59.6%)
CIE-LABlab(23.08, 44.04, -31.56)
CIE-LCHlch(23.08, 54.18, 324.38°)
OKLaboklab(35.64% 0.1177 -0.0882)
OKLCHoklch(35.64% 0.147 323.2)
XYZxyz(7.2969, 3.8251, 13.1833)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1367 #1C6713
analogous
#341367 #5E1367 #671346
triadic
#5E1367 #675E13 #13675E
tetradic
#5E1367 #673413 #1C6713 #134667
square
#5E1367 #673413 #1C6713 #134667
split-complementary
#5E1367 #466713 #136734
monochromatic
#18051A #2F0933 #5E1367 #8D1D9B #BC26CE

Accessibility & contrast

On white

11.90
#5E1367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5E1367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1367
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1367#FFFFFF#000000##FFFFFF
##5E13671.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#223A65
Tritanopia (blue-blind)
#60243D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1367;
/* rgb */ color: rgb(94, 19, 103);
/* oklch */ color: oklch(35.6% 0.147 323.2);
Tailwind
colors: {
  custom: {
    50: '#8f5b93',
    500: '#5e1367',
    950: '#000000',
  },
}
SCSS
$custom: #5e1367;
$custom-light: #8f5b93;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1367",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 293.571,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35636,
    "c": 0.14706,
    "h": 323.2
  },
  "luminance": 0.03825
}

Semantic roles & 50–950 ramp

primary
#5E1367
secondary
#429E37
accent
#EC3C4F
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E1367

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

Preview Lab → · Contrast checker → · Palette generator →

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