#5E115F#5E115F

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

Color values

HEX#5E115F
RGBrgb(94, 17, 95)
HSLhsl(299, 70%, 22%)
HSVhsv(299, 82%, 37%)
CMYKcmyk(1.1%, 82.1%, 0%, 62.7%)
CIE-LABlab(22.33, 43.19, -27.51)
CIE-LCHlch(22.33, 51.21, 327.51°)
OKLaboklab(34.93% 0.12 -0.0764)
OKLCHoklch(34.93% 0.142 327.5)
XYZxyz(6.8820, 3.6073, 11.1581)
Luminance0.0361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E115F #125F11
analogous
#37115F #5E115F #5F1139
triadic
#5E115F #5F5E11 #115F5E
tetradic
#5E115F #5F3711 #125F11 #11395F
square
#5E115F #5F3711 #125F11 #11395F
split-complementary
#5E115F #395F11 #115F37
monochromatic
#1A051A #2B082B #5E115F #911A93 #C524C7

Accessibility & contrast

On white

12.20
#5E115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E115F
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E115F#FFFFFF#000000##FFFFFF
##5E115F1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#27395D
Tritanopia (blue-blind)
#611E38
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e115f;
/* rgb */ color: rgb(94, 17, 95);
/* oklch */ color: oklch(34.9% 0.142 327.5);
Tailwind
colors: {
  custom: {
    50: '#8f5a8d',
    500: '#5e115f',
    950: '#000000',
  },
}
SCSS
$custom: #5e115f;
$custom-light: #8f5a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e115f",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 299.231,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.34929,
    "c": 0.14226,
    "h": 327.5
  },
  "luminance": 0.03607
}

Semantic roles & 50–950 ramp

primary
#5E115F
secondary
#359834
accent
#EC3B3E
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E115F

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

Preview Lab → · Contrast checker → · Palette generator →

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