#5E115D#5E115D

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

Color values

HEX#5E115D
RGBrgb(94, 17, 93)
HSLhsl(301, 69%, 22%)
HSVhsv(301, 82%, 37%)
CMYKcmyk(0%, 81.9%, 1.1%, 63.1%)
CIE-LABlab(22.20, 42.83, -26.39)
CIE-LCHlch(22.20, 50.31, 328.36°)
OKLaboklab(34.8% 0.1201 -0.0731)
OKLCHoklch(34.8% 0.141 328.7)
XYZxyz(6.7923, 3.5714, 10.6854)
Luminance0.0357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E115D #115E12
analogous
#39115E #5E115D #5E1137
triadic
#5E115D #5D5E11 #115D5E
tetradic
#5E115D #5E3911 #115E12 #11375E
square
#5E115D #5E3911 #115E12 #11375E
split-complementary
#5E115D #375E11 #115E39
monochromatic
#1A051A #2A082A #5E115D #921A90 #C624C4

Accessibility & contrast

On white

12.25
#5E115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5E115D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E115D
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E115D#FFFFFF#000000##FFFFFF
##5E115D1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022F5F
Deuteranopia (green-blind)
#28395B
Tritanopia (blue-blind)
#611D37
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e115d;
/* rgb */ color: rgb(94, 17, 93);
/* oklch */ color: oklch(34.8% 0.141 328.7);
Tailwind
colors: {
  custom: {
    50: '#8f5a8b',
    500: '#5e115d',
    950: '#000000',
  },
}
SCSS
$custom: #5e115d;
$custom-light: #8f5a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e115d",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 300.779,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34797,
    "c": 0.14059,
    "h": 328.7
  },
  "luminance": 0.03571
}

Semantic roles & 50–950 ramp

primary
#5E115D
secondary
#349735
accent
#EC3E3C
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E115D

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

Preview Lab → · Contrast checker → · Palette generator →

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