#5E155A#5E155A

#5E155A is a dark, vivid purple. Relative luminance 0.037; OKLCH L 34.9% C 0.134 H 330.4°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#5E155A
RGBrgb(94, 21, 90)
HSLhsl(303, 63%, 23%)
HSVhsv(303, 78%, 37%)
CMYKcmyk(0%, 77.7%, 4.3%, 63.1%)
CIE-LABlab(22.50, 40.92, -23.93)
CIE-LCHlch(22.50, 47.40, 329.68°)
OKLaboklab(34.95% 0.1161 -0.066)
OKLCHoklch(34.95% 0.134 330.4)
XYZxyz(6.7297, 3.6547, 10.0219)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E155A #155E19
analogous
#3E155E #5E155A #5E1535
triadic
#5E155A #5A5E15 #155A5E
tetradic
#5E155A #5E3E15 #155E19 #15355E
square
#5E155A #5E3E15 #155E19 #15355E
split-complementary
#5E155A #355E15 #155E3E
monochromatic
#190618 #2C0A2A #5E155A #90208A #C22BBA

Accessibility & contrast

On white

12.13
#5E155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5E155A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E155A
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E155A#FFFFFF#000000##FFFFFF
##5E155A1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2F5C
Deuteranopia (green-blind)
#2B3958
Tritanopia (blue-blind)
#621E36
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e155a;
/* rgb */ color: rgb(94, 21, 90);
/* oklch */ color: oklch(34.9% 0.134 330.4);
Tailwind
colors: {
  custom: {
    50: '#8e5b89',
    500: '#5e155a',
    950: '#000000',
  },
}
SCSS
$custom: #5e155a;
$custom-light: #8e5b89;
$custom-dark: #000000;
JSON
{
  "hex": "#5e155a",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 303.288,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34948,
    "c": 0.13359,
    "h": 330.4
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#5E155A
secondary
#39953E
accent
#E74A41
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E155A

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

Preview Lab → · Contrast checker → · Palette generator →

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