#5E1160#5E1160

#5E1160 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.143 H 327.0°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#5E1160
RGBrgb(94, 17, 96)
HSLhsl(298, 70%, 22%)
HSVhsv(298, 82%, 38%)
CMYKcmyk(2.1%, 82.3%, 0%, 62.4%)
CIE-LABlab(22.39, 43.37, -28.07)
CIE-LCHlch(22.39, 51.66, 327.09°)
OKLaboklab(35% 0.12 -0.078)
OKLCHoklch(35% 0.143 327)
XYZxyz(6.9277, 3.6256, 11.3990)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1160 #136011
analogous
#371160 #5E1160 #60113B
triadic
#5E1160 #605E11 #11605E
tetradic
#5E1160 #603711 #136011 #113B60
square
#5E1160 #603711 #136011 #113B60
split-complementary
#5E1160 #3B6011 #116037
monochromatic
#19051A #2B082C #5E1160 #911A94 #C423C8

Accessibility & contrast

On white

12.17
#5E1160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5E1160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1160
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1160#FFFFFF#000000##FFFFFF
##5E11601.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#26395E
Tritanopia (blue-blind)
#611F38
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e1160;
/* rgb */ color: rgb(94, 17, 96);
/* oklch */ color: oklch(35.0% 0.143 327.0);
Tailwind
colors: {
  custom: {
    50: '#8f5a8d',
    500: '#5e1160',
    950: '#000000',
  },
}
SCSS
$custom: #5e1160;
$custom-light: #8f5a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1160",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 298.481,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34996,
    "c": 0.1431,
    "h": 327
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#5E1160
secondary
#379934
accent
#ED3B40
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E1160

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

Preview Lab → · Contrast checker → · Palette generator →

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