#5E116F#5E116F

#5E116F is a dark, vivid purple. Relative luminance 0.039; OKLCH L 36.1% C 0.156 H 319.3°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#5E116F
RGBrgb(94, 17, 111)
HSLhsl(289, 73%, 25%)
HSVhsv(289, 85%, 44%)
CMYKcmyk(15.3%, 84.7%, 0%, 56.5%)
CIE-LABlab(23.43, 46.24, -36.19)
CIE-LCHlch(23.43, 58.72, 321.95°)
OKLaboklab(36.06% 0.1183 -0.1017)
OKLCHoklch(36.06% 0.156 319.3)
XYZxyz(7.6854, 3.9287, 15.3893)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E116F #226F11
analogous
#2F116F #5E116F #6F1151
triadic
#5E116F #6F5E11 #116F5E
tetradic
#5E116F #6F2F11 #226F11 #11516F
square
#5E116F #6F2F11 #226F11 #11516F
split-complementary
#5E116F #516F11 #116F2F
monochromatic
#16041B #31093A #5E116F #8B19A4 #B821D9

Accessibility & contrast

On white

11.76
#5E116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5E116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E116F
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E116F#FFFFFF#000000##FFFFFF
##5E116F1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#193A6D
Tritanopia (blue-blind)
#5E2741
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e116f;
/* rgb */ color: rgb(94, 17, 111);
/* oklch */ color: oklch(36.1% 0.156 319.3);
Tailwind
colors: {
  custom: {
    50: '#8f5b99',
    500: '#5e116f',
    950: '#000000',
  },
}
SCSS
$custom: #5e116f;
$custom-light: #8f5b99;
$custom-dark: #000000;
JSON
{
  "hex": "#5e116f",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 289.149,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36064,
    "c": 0.15605,
    "h": 319.3
  },
  "luminance": 0.03928
}

Semantic roles & 50–950 ramp

primary
#5E116F
secondary
#4AA635
accent
#F03859
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5E116F

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

Preview Lab → · Contrast checker → · Palette generator →

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