#5D1554#5D1554

#5D1554 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.128 H 333.6°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#5D1554
RGBrgb(93, 21, 84)
HSLhsl(308, 63%, 22%)
HSVhsv(308, 77%, 36%)
CMYKcmyk(0%, 77.4%, 9.7%, 63.5%)
CIE-LABlab(21.96, 39.61, -20.78)
CIE-LCHlch(21.96, 44.73, 332.32°)
OKLaboklab(34.41% 0.1147 -0.0569)
OKLCHoklch(34.41% 0.128 333.6)
XYZxyz(6.3826, 3.5041, 8.7260)
Luminance0.0350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1554 #155D1E
analogous
#42155D #5D1554 #5D1530
triadic
#5D1554 #545D15 #15545D
tetradic
#5D1554 #5D4215 #155D1E #15305D
square
#5D1554 #5D4215 #155D1E #15305D
split-complementary
#5D1554 #305D15 #155D42
monochromatic
#190617 #2B0A27 #5D1554 #8F2081 #C12CAE

Accessibility & contrast

On white

12.35
#5D1554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5D1554 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1554
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1554#FFFFFF#000000##FFFFFF
##5D15541.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132E56
Deuteranopia (green-blind)
#2D3852
Tritanopia (blue-blind)
#621C33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d1554;
/* rgb */ color: rgb(93, 21, 84);
/* oklch */ color: oklch(34.4% 0.128 333.6);
Tailwind
colors: {
  custom: {
    50: '#8e5b84',
    500: '#5d1554',
    950: '#000000',
  },
}
SCSS
$custom: #5d1554;
$custom-light: #8e5b84;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1554",
  "rgb": {
    "r": 93,
    "g": 21,
    "b": 84
  },
  "hsl": {
    "h": 307.5,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34414,
    "c": 0.12802,
    "h": 333.6
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#5D1554
secondary
#399445
accent
#E65642
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5D1554

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

Preview Lab → · Contrast checker → · Palette generator →

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