#5D1652#5D1652

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

Color values

HEX#5D1652
RGBrgb(93, 22, 82)
HSLhsl(309, 62%, 23%)
HSVhsv(309, 76%, 36%)
CMYKcmyk(0%, 76.3%, 11.8%, 63.5%)
CIE-LABlab(21.98, 38.89, -19.40)
CIE-LCHlch(21.98, 43.46, 333.49°)
OKLaboklab(34.39% 0.1133 -0.053)
OKLCHoklch(34.39% 0.125 334.9)
XYZxyz(6.3242, 3.5107, 8.3256)
Luminance0.0351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1652 #165D21
analogous
#45165D #5D1652 #5D162E
triadic
#5D1652 #525D16 #16525D
tetradic
#5D1652 #5D4516 #165D21 #162E5D
square
#5D1652 #5D4516 #165D21 #162E5D
split-complementary
#5D1652 #2E5D16 #165D45
monochromatic
#190616 #2C0A26 #5D1652 #8E227E #C02DA9

Accessibility & contrast

On white

12.34
#5D1652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1652
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1652#FFFFFF#000000##FFFFFF
##5D16521.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162E54
Deuteranopia (green-blind)
#2F3850
Tritanopia (blue-blind)
#621C32
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d1652;
/* rgb */ color: rgb(93, 22, 82);
/* oklch */ color: oklch(34.4% 0.125 334.9);
Tailwind
colors: {
  custom: {
    50: '#8e5b83',
    500: '#5d1652',
    950: '#000000',
  },
}
SCSS
$custom: #5d1652;
$custom-light: #8e5b83;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1652",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 309.296,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34395,
    "c": 0.12512,
    "h": 334.9
  },
  "luminance": 0.0351
}

Semantic roles & 50–950 ramp

primary
#5D1652
secondary
#3B9449
accent
#E55C43
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5D1652

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

Preview Lab → · Contrast checker → · Palette generator →

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