#5D1B60#5D1B60

#5D1B60 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.8% C 0.131 H 326.1°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#5D1B60
RGBrgb(93, 27, 96)
HSLhsl(297, 56%, 24%)
HSVhsv(297, 72%, 38%)
CMYKcmyk(3.1%, 71.9%, 0%, 62.4%)
CIE-LABlab(23.53, 39.39, -26.28)
CIE-LCHlch(23.53, 47.35, 326.29°)
OKLaboklab(35.77% 0.1083 -0.0729)
OKLCHoklch(35.77% 0.131 326.1)
XYZxyz(7.0173, 3.9560, 11.4580)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1B60 #1E601B
analogous
#3B1B60 #5D1B60 #601B41
triadic
#5D1B60 #605D1B #1B605D
tetradic
#5D1B60 #603B1B #1E601B #1B4160
square
#5D1B60 #603B1B #1E601B #1B4160
split-complementary
#5D1B60 #41601B #1B603B
monochromatic
#170718 #2F0E30 #5D1B60 #8B2890 #BA36C0

Accessibility & contrast

On white

11.72
#5D1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5D1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1B60
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1B60#FFFFFF#000000##FFFFFF
##5D1B601.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3362
Deuteranopia (green-blind)
#2A3B5E
Tritanopia (blue-blind)
#5F253B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d1b60;
/* rgb */ color: rgb(93, 27, 96);
/* oklch */ color: oklch(35.8% 0.131 326.1);
Tailwind
colors: {
  custom: {
    50: '#8d5e8d',
    500: '#5d1b60',
    950: '#000000',
  },
}
SCSS
$custom: #5d1b60;
$custom-light: #8d5e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1b60",
  "rgb": {
    "r": 93,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 297.391,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35771,
    "c": 0.13053,
    "h": 326.1
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#5D1B60
secondary
#459641
accent
#DF484F
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #5D1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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