#5E116A#5E116A

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

Color values

HEX#5E116A
RGBrgb(94, 17, 106)
HSLhsl(292, 72%, 24%)
HSVhsv(292, 84%, 42%)
CMYKcmyk(11.3%, 84%, 0%, 58.4%)
CIE-LABlab(23.07, 45.26, -33.53)
CIE-LCHlch(23.07, 56.32, 323.47°)
OKLaboklab(35.7% 0.1191 -0.094)
OKLCHoklch(35.7% 0.152 321.7)
XYZxyz(7.4178, 3.8216, 13.9798)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E116A #1D6A11
analogous
#32116A #5E116A #6A114A
triadic
#5E116A #6A5E11 #116A5E
tetradic
#5E116A #6A3211 #1D6A11 #114A6A
square
#5E116A #6A3211 #1D6A11 #114A6A
split-complementary
#5E116A #4A6A11 #116A32
monochromatic
#17041A #2F0935 #5E116A #8D199F #BC22D3

Accessibility & contrast

On white

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

On black

1.76
#5E116A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E116A#FFFFFF#000000##FFFFFF
##5E116A1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#1E3A68
Tritanopia (blue-blind)
#5F243E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e116a;
/* rgb */ color: rgb(94, 17, 106);
/* oklch */ color: oklch(35.7% 0.152 321.7);
Tailwind
colors: {
  custom: {
    50: '#8f5a95',
    500: '#5e116a',
    950: '#000000',
  },
}
SCSS
$custom: #5e116a;
$custom-light: #8f5a95;
$custom-dark: #000000;
JSON
{
  "hex": "#5e116a",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 106
  },
  "hsl": {
    "h": 291.91,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35695,
    "c": 0.15167,
    "h": 321.7
  },
  "luminance": 0.03821
}

Semantic roles & 50–950 ramp

primary
#5E116A
secondary
#44A235
accent
#EF3951
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E116A

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

Preview Lab → · Contrast checker → · Palette generator →

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