#5E115E#5E115E

#5E115E is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.141 H 328.1°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#5E115E
RGBrgb(94, 17, 94)
HSLhsl(300, 69%, 22%)
HSVhsv(300, 82%, 37%)
CMYKcmyk(0%, 81.9%, 0%, 63.1%)
CIE-LABlab(22.26, 43.01, -26.95)
CIE-LCHlch(22.26, 50.76, 327.93°)
OKLaboklab(34.86% 0.1201 -0.0747)
OKLCHoklch(34.86% 0.141 328.1)
XYZxyz(6.8368, 3.5892, 10.9202)
Luminance0.0359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E115E #115E11
analogous
#38115E #5E115E #5E1138
triadic
#5E115E #5E5E11 #115E5E
tetradic
#5E115E #5E3811 #115E11 #11385E
square
#5E115E #5E3811 #115E11 #11385E
split-complementary
#5E115E #385E11 #115E38
monochromatic
#1A051A #2A082A #5E115E #921A92 #C624C6

Accessibility & contrast

On white

12.22
#5E115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5E115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E115E
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E115E#FFFFFF#000000##FFFFFF
##5E115E1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F60
Deuteranopia (green-blind)
#27395C
Tritanopia (blue-blind)
#611E37
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e115e;
/* rgb */ color: rgb(94, 17, 94);
/* oklch */ color: oklch(34.9% 0.141 328.1);
Tailwind
colors: {
  custom: {
    50: '#8f5a8c',
    500: '#5e115e',
    950: '#000000',
  },
}
SCSS
$custom: #5e115e;
$custom-light: #8f5a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e115e",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 300,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34862,
    "c": 0.14142,
    "h": 328.1
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#5E115E
secondary
#349734
accent
#EC3C3C
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E115E

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

Preview Lab → · Contrast checker → · Palette generator →

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