#5D1656#5D1656

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

Color values

HEX#5D1656
RGBrgb(93, 22, 86)
HSLhsl(306, 62%, 23%)
HSVhsv(306, 76%, 36%)
CMYKcmyk(0%, 76.3%, 7.5%, 63.5%)
CIE-LABlab(22.21, 39.58, -21.73)
CIE-LCHlch(22.21, 45.15, 331.23°)
OKLaboklab(34.63% 0.1137 -0.0597)
OKLCHoklch(34.63% 0.128 332.3)
XYZxyz(6.4808, 3.5734, 9.1507)
Luminance0.0357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1656 #165D1D
analogous
#40165D #5D1656 #5D1633
triadic
#5D1656 #565D16 #16565D
tetradic
#5D1656 #5D4016 #165D1D #16335D
square
#5D1656 #5D4016 #165D1D #16335D
split-complementary
#5D1656 #335D16 #165D40
monochromatic
#190617 #2C0A28 #5D1656 #8E2284 #C02DB2

Accessibility & contrast

On white

12.25
#5D1656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1656
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1656#FFFFFF#000000##FFFFFF
##5D16561.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122F58
Deuteranopia (green-blind)
#2D3954
Tritanopia (blue-blind)
#611D34
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d1656;
/* rgb */ color: rgb(93, 22, 86);
/* oklch */ color: oklch(34.6% 0.128 332.3);
Tailwind
colors: {
  custom: {
    50: '#8e5b86',
    500: '#5d1656',
    950: '#000000',
  },
}
SCSS
$custom: #5d1656;
$custom-light: #8e5b86;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1656",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 305.915,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3463,
    "c": 0.1284,
    "h": 332.3
  },
  "luminance": 0.03573
}

Semantic roles & 50–950 ramp

primary
#5D1656
secondary
#3B9444
accent
#E55343
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5D1656

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

Preview Lab → · Contrast checker → · Palette generator →

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