#5D1655#5D1655

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

Color values

HEX#5D1655
RGBrgb(93, 22, 85)
HSLhsl(307, 62%, 23%)
HSVhsv(307, 76%, 36%)
CMYKcmyk(0%, 76.3%, 8.6%, 63.5%)
CIE-LABlab(22.15, 39.40, -21.15)
CIE-LCHlch(22.15, 44.72, 331.78°)
OKLaboklab(34.57% 0.1136 -0.058)
OKLCHoklch(34.57% 0.128 332.9)
XYZxyz(6.4408, 3.5574, 8.9400)
Luminance0.0356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1655 #165D1E
analogous
#42165D #5D1655 #5D1631
triadic
#5D1655 #555D16 #16555D
tetradic
#5D1655 #5D4216 #165D1E #16315D
square
#5D1655 #5D4216 #165D1E #16315D
split-complementary
#5D1655 #315D16 #165D42
monochromatic
#190617 #2C0A28 #5D1655 #8E2282 #C02DAF

Accessibility & contrast

On white

12.27
#5D1655 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1655
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1655#FFFFFF#000000##FFFFFF
##5D16551.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132E57
Deuteranopia (green-blind)
#2D3953
Tritanopia (blue-blind)
#611D33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d1655;
/* rgb */ color: rgb(93, 22, 85);
/* oklch */ color: oklch(34.6% 0.128 332.9);
Tailwind
colors: {
  custom: {
    50: '#8e5b85',
    500: '#5d1655',
    950: '#000000',
  },
}
SCSS
$custom: #5d1655;
$custom-light: #8e5b85;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1655",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 85
  },
  "hsl": {
    "h": 306.761,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3457,
    "c": 0.12757,
    "h": 332.9
  },
  "luminance": 0.03557
}

Semantic roles & 50–950 ramp

primary
#5D1655
secondary
#3B9445
accent
#E55543
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5D1655

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

Preview Lab → · Contrast checker → · Palette generator →

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