#5D1553#5D1553

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

Color values

HEX#5D1553
RGBrgb(93, 21, 83)
HSLhsl(308, 63%, 22%)
HSVhsv(308, 77%, 36%)
CMYKcmyk(0%, 77.4%, 10.8%, 63.5%)
CIE-LABlab(21.90, 39.44, -20.20)
CIE-LCHlch(21.90, 44.31, 332.88°)
OKLaboklab(34.36% 0.1146 -0.0553)
OKLCHoklch(34.36% 0.127 334.2)
XYZxyz(6.3438, 3.4886, 8.5212)
Luminance0.0349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1553 #155D1F
analogous
#43155D #5D1553 #5D152F
triadic
#5D1553 #535D15 #15535D
tetradic
#5D1553 #5D4315 #155D1F #152F5D
square
#5D1553 #5D4315 #155D1F #152F5D
split-complementary
#5D1553 #2F5D15 #155D43
monochromatic
#190616 #2B0A26 #5D1553 #8F2080 #C12CAC

Accessibility & contrast

On white

12.37
#5D1553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1553
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1553#FFFFFF#000000##FFFFFF
##5D15531.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142E55
Deuteranopia (green-blind)
#2E3851
Tritanopia (blue-blind)
#621B32
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d1553;
/* rgb */ color: rgb(93, 21, 83);
/* oklch */ color: oklch(34.4% 0.127 334.2);
Tailwind
colors: {
  custom: {
    50: '#8e5b83',
    500: '#5d1553',
    950: '#000000',
  },
}
SCSS
$custom: #5d1553;
$custom-light: #8e5b83;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1553",
  "rgb": {
    "r": 93,
    "g": 21,
    "b": 83
  },
  "hsl": {
    "h": 308.333,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34355,
    "c": 0.1272,
    "h": 334.2
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#5D1553
secondary
#399446
accent
#E65842
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5D1553

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

Preview Lab → · Contrast checker → · Palette generator →

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