#5E1376#5E1376

#5E1376 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.8% C 0.160 H 316.0°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#5E1376
RGBrgb(94, 19, 118)
HSLhsl(285, 72%, 27%)
HSVhsv(285, 84%, 46%)
CMYKcmyk(20.3%, 83.9%, 0%, 53.7%)
CIE-LABlab(24.17, 47.04, -39.50)
CIE-LCHlch(24.17, 61.42, 319.98°)
OKLaboklab(36.75% 0.1154 -0.1115)
OKLCHoklch(36.75% 0.16 316)
XYZxyz(8.1185, 4.1538, 17.5101)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1376 #2B7613
analogous
#2D1376 #5E1376 #76135D
triadic
#5E1376 #765E13 #13765E
tetradic
#5E1376 #762D13 #2B7613 #135D76
square
#5E1376 #762D13 #2B7613 #135D76
split-complementary
#5E1376 #5D7613 #13762D
monochromatic
#15041A #340B41 #5E1376 #881BAB #B027DC

Accessibility & contrast

On white

11.47
#5E1376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#5E1376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1376
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1376#FFFFFF#000000##FFFFFF
##5E13761.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#113B74
Tritanopia (blue-blind)
#5C2B45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1376;
/* rgb */ color: rgb(94, 19, 118);
/* oklch */ color: oklch(36.8% 0.160 316.0);
Tailwind
colors: {
  custom: {
    50: '#8f5c9e',
    500: '#5e1376',
    950: '#000000',
  },
}
SCSS
$custom: #5e1376;
$custom-light: #8f5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1376",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 285.455,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3675,
    "c": 0.16047,
    "h": 316
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

primary
#5E1376
secondary
#55AC39
accent
#EF3965
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5E1376

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

Preview Lab → · Contrast checker → · Palette generator →

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