#5D1654#5D1654

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

Color values

HEX#5D1654
RGBrgb(93, 22, 84)
HSLhsl(308, 62%, 23%)
HSVhsv(308, 76%, 36%)
CMYKcmyk(0%, 76.3%, 9.7%, 63.5%)
CIE-LABlab(22.09, 39.23, -20.57)
CIE-LCHlch(22.09, 44.30, 332.33°)
OKLaboklab(34.51% 0.1135 -0.0563)
OKLCHoklch(34.51% 0.127 333.6)
XYZxyz(6.4014, 3.5416, 8.7322)
Luminance0.0354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1654 #165D1F
analogous
#43165D #5D1654 #5D1630
triadic
#5D1654 #545D16 #16545D
tetradic
#5D1654 #5D4316 #165D1F #16305D
square
#5D1654 #5D4316 #165D1F #16305D
split-complementary
#5D1654 #305D16 #165D43
monochromatic
#190616 #2C0A27 #5D1654 #8E2281 #C02DAD

Accessibility & contrast

On white

12.29
#5D1654 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1654
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1654#FFFFFF#000000##FFFFFF
##5D16541.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d1654;
/* rgb */ color: rgb(93, 22, 84);
/* oklch */ color: oklch(34.5% 0.127 333.6);
Tailwind
colors: {
  custom: {
    50: '#8e5b84',
    500: '#5d1654',
    950: '#000000',
  },
}
SCSS
$custom: #5d1654;
$custom-light: #8e5b84;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1654",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 84
  },
  "hsl": {
    "h": 307.606,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34511,
    "c": 0.12675,
    "h": 333.6
  },
  "luminance": 0.03541
}

Semantic roles & 50–950 ramp

primary
#5D1654
secondary
#3B9446
accent
#E55743
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5D1654

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

Preview Lab → · Contrast checker → · Palette generator →

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