#5E155D#5E155D

#5E155D is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.136 H 328.6°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#5E155D
RGBrgb(94, 21, 93)
HSLhsl(301, 63%, 23%)
HSVhsv(301, 78%, 37%)
CMYKcmyk(0%, 77.7%, 1.1%, 63.1%)
CIE-LABlab(22.68, 41.46, -25.63)
CIE-LCHlch(22.68, 48.75, 328.28°)
OKLaboklab(35.14% 0.1162 -0.0709)
OKLCHoklch(35.14% 0.136 328.6)
XYZxyz(6.8600, 3.7068, 10.7080)
Luminance0.0371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E155D #155E16
analogous
#3B155E #5E155D #5E1538
triadic
#5E155D #5D5E15 #155D5E
tetradic
#5E155D #5E3B15 #155E16 #15385E
square
#5E155D #5E3B15 #155E16 #15385E
split-complementary
#5E155D #385E15 #155E3B
monochromatic
#190619 #2C0A2C #5E155D #90208E #C22BC0

Accessibility & contrast

On white

12.06
#5E155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5E155D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E155D
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E155D#FFFFFF#000000##FFFFFF
##5E155D1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08305F
Deuteranopia (green-blind)
#29395B
Tritanopia (blue-blind)
#612038
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e155d;
/* rgb */ color: rgb(94, 21, 93);
/* oklch */ color: oklch(35.1% 0.136 328.6);
Tailwind
colors: {
  custom: {
    50: '#8f5b8b',
    500: '#5e155d',
    950: '#000000',
  },
}
SCSS
$custom: #5e155d;
$custom-light: #8f5b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e155d",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 300.822,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.35137,
    "c": 0.13613,
    "h": 328.6
  },
  "luminance": 0.03706
}

Semantic roles & 50–950 ramp

primary
#5E155D
secondary
#39953B
accent
#E74441
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E155D

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

Preview Lab → · Contrast checker → · Palette generator →

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