#5E156D#5E156D

#5E156D is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.2% C 0.150 H 320.0°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#5E156D
RGBrgb(94, 21, 109)
HSLhsl(290, 68%, 25%)
HSVhsv(290, 81%, 43%)
CMYKcmyk(13.8%, 80.7%, 0%, 57.3%)
CIE-LABlab(23.74, 44.54, -34.41)
CIE-LCHlch(23.74, 56.28, 322.31°)
OKLaboklab(36.23% 0.1152 -0.0965)
OKLCHoklch(36.23% 0.15 320)
XYZxyz(7.6442, 4.0205, 14.8384)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E156D #246D15
analogous
#32156D #5E156D #6D1550
triadic
#5E156D #6D5E15 #156D5E
tetradic
#5E156D #6D3215 #246D15 #15506D
square
#5E156D #6D3215 #246D15 #15506D
split-complementary
#5E156D #506D15 #156D32
monochromatic
#16051A #320B3A #5E156D #8A1FA0 #B729D4

Accessibility & contrast

On white

11.64
#5E156D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5E156D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E156D
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E156D#FFFFFF#000000##FFFFFF
##5E156D1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#1E3B6B
Tritanopia (blue-blind)
#5E2841
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e156d;
/* rgb */ color: rgb(94, 21, 109);
/* oklch */ color: oklch(36.2% 0.150 320.0);
Tailwind
colors: {
  custom: {
    50: '#8f5c97',
    500: '#5e156d',
    950: '#000000',
  },
}
SCSS
$custom: #5e156d;
$custom-light: #8f5c97;
$custom-dark: #000000;
JSON
{
  "hex": "#5e156d",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 109
  },
  "hsl": {
    "h": 289.773,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36233,
    "c": 0.1503,
    "h": 320
  },
  "luminance": 0.0402
}

Semantic roles & 50–950 ramp

primary
#5E156D
secondary
#4CA33A
accent
#EB3D5B
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E156D

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

Preview Lab → · Contrast checker → · Palette generator →

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