#5E155E#5E155E

#5E155E is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.137 H 328.0°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#5E155E
RGBrgb(94, 21, 94)
HSLhsl(300, 63%, 23%)
HSVhsv(300, 78%, 37%)
CMYKcmyk(0%, 77.7%, 0%, 63.1%)
CIE-LABlab(22.74, 41.65, -26.19)
CIE-LCHlch(22.74, 49.20, 327.83°)
OKLaboklab(35.2% 0.1162 -0.0726)
OKLCHoklch(35.2% 0.137 328)
XYZxyz(6.9046, 3.7247, 10.9428)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E155E #155E15
analogous
#39155E #5E155E #5E1539
triadic
#5E155E #5E5E15 #155E5E
tetradic
#5E155E #5E3915 #155E15 #15395E
square
#5E155E #5E3915 #155E15 #15395E
split-complementary
#5E155E #395E15 #155E39
monochromatic
#190619 #2C0A2C #5E155E #902090 #C22BC2

Accessibility & contrast

On white

12.04
#5E155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E155E
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E155E#FFFFFF#000000##FFFFFF
##5E155E1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073060
Deuteranopia (green-blind)
#293A5C
Tritanopia (blue-blind)
#612038
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e155e;
/* rgb */ color: rgb(94, 21, 94);
/* oklch */ color: oklch(35.2% 0.137 328.0);
Tailwind
colors: {
  custom: {
    50: '#8f5b8c',
    500: '#5e155e',
    950: '#000000',
  },
}
SCSS
$custom: #5e155e;
$custom-light: #8f5b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e155e",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 300,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.35202,
    "c": 0.137,
    "h": 328
  },
  "luminance": 0.03724
}

Semantic roles & 50–950 ramp

primary
#5E155E
secondary
#399539
accent
#E74141
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E155E

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

Preview Lab → · Contrast checker → · Palette generator →

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