#5E1368#5E1368

#5E1368 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.7% C 0.148 H 322.6°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#5E1368
RGBrgb(94, 19, 104)
HSLhsl(293, 69%, 24%)
HSVhsv(293, 82%, 41%)
CMYKcmyk(9.6%, 81.7%, 0%, 59.2%)
CIE-LABlab(23.15, 44.23, -32.10)
CIE-LCHlch(23.15, 54.65, 324.03°)
OKLaboklab(35.71% 0.1176 -0.0898)
OKLCHoklch(35.71% 0.148 322.6)
XYZxyz(7.3474, 3.8453, 13.4492)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1368 #1D6813
analogous
#341368 #5E1368 #681348
triadic
#5E1368 #685E13 #13685E
tetradic
#5E1368 #683413 #1D6813 #134868
square
#5E1368 #683413 #1D6813 #134868
split-complementary
#5E1368 #486813 #136834
monochromatic
#17051A #2F0A34 #5E1368 #8D1C9C #BC26CF

Accessibility & contrast

On white

11.87
#5E1368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1368
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1368#FFFFFF#000000##FFFFFF
##5E13681.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326A
Deuteranopia (green-blind)
#213A66
Tritanopia (blue-blind)
#5F243D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1368;
/* rgb */ color: rgb(94, 19, 104);
/* oklch */ color: oklch(35.7% 0.148 322.6);
Tailwind
colors: {
  custom: {
    50: '#8f5b94',
    500: '#5e1368',
    950: '#000000',
  },
}
SCSS
$custom: #5e1368;
$custom-light: #8f5b94;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1368",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 292.941,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35707,
    "c": 0.14794,
    "h": 322.6
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

primary
#5E1368
secondary
#449F37
accent
#EC3C51
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E1368

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

Preview Lab → · Contrast checker → · Palette generator →

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