#5E1554#5E1554

#5E1554 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.6% C 0.129 H 334.2°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#5E1554
RGBrgb(94, 21, 84)
HSLhsl(308, 63%, 23%)
HSVhsv(308, 78%, 37%)
CMYKcmyk(0%, 77.7%, 10.6%, 63.1%)
CIE-LABlab(22.15, 39.88, -20.47)
CIE-LCHlch(22.15, 44.82, 332.83°)
OKLaboklab(34.59% 0.1158 -0.056)
OKLCHoklch(34.59% 0.129 334.2)
XYZxyz(6.4846, 3.5567, 8.7308)
Luminance0.0356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1554 #155E1F
analogous
#43155E #5E1554 #5E1530
triadic
#5E1554 #545E15 #15545E
tetradic
#5E1554 #5E4315 #155E1F #15305E
square
#5E1554 #5E4315 #155E1F #15305E
split-complementary
#5E1554 #305E15 #155E43
monochromatic
#190616 #2C0A27 #5E1554 #902081 #C22BAD

Accessibility & contrast

On white

12.27
#5E1554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5E1554 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1554
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1554#FFFFFF#000000##FFFFFF
##5E15541.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142E56
Deuteranopia (green-blind)
#2E3952
Tritanopia (blue-blind)
#631C33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1554;
/* rgb */ color: rgb(94, 21, 84);
/* oklch */ color: oklch(34.6% 0.129 334.2);
Tailwind
colors: {
  custom: {
    50: '#8e5b84',
    500: '#5e1554',
    950: '#000000',
  },
}
SCSS
$custom: #5e1554;
$custom-light: #8e5b84;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1554",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 84
  },
  "hsl": {
    "h": 308.219,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34586,
    "c": 0.12863,
    "h": 334.2
  },
  "luminance": 0.03556
}

Semantic roles & 50–950 ramp

primary
#5E1554
secondary
#399546
accent
#E75841
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1554

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

Preview Lab → · Contrast checker → · Palette generator →

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