#5D1569#5D1569

#5D1569 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.146 H 321.4°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#5D1569
RGBrgb(93, 21, 105)
HSLhsl(291, 67%, 25%)
HSVhsv(291, 80%, 41%)
CMYKcmyk(11.4%, 80%, 0%, 58.8%)
CIE-LABlab(23.28, 43.52, -32.55)
CIE-LCHlch(23.28, 54.35, 323.21°)
OKLaboklab(35.79% 0.1144 -0.0911)
OKLCHoklch(35.79% 0.146 321.4)
XYZxyz(7.3319, 3.8838, 13.7253)
Luminance0.0388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1569 #216915
analogous
#331569 #5D1569 #69154B
triadic
#5D1569 #695D15 #15695D
tetradic
#5D1569 #693315 #216915 #154B69
square
#5D1569 #693315 #216915 #154B69
split-complementary
#5D1569 #4B6915 #156933
monochromatic
#17051A #300B36 #5D1569 #8A1F9C #B729CF

Accessibility & contrast

On white

11.82
#5D1569 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5D1569 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1569
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1569#FFFFFF#000000##FFFFFF
##5D15691.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326B
Deuteranopia (green-blind)
#203A67
Tritanopia (blue-blind)
#5E263E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d1569;
/* rgb */ color: rgb(93, 21, 105);
/* oklch */ color: oklch(35.8% 0.146 321.4);
Tailwind
colors: {
  custom: {
    50: '#8e5c94',
    500: '#5d1569',
    950: '#000000',
  },
}
SCSS
$custom: #5d1569;
$custom-light: #8e5c94;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1569",
  "rgb": {
    "r": 93,
    "g": 21,
    "b": 105
  },
  "hsl": {
    "h": 291.429,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35787,
    "c": 0.14624,
    "h": 321.4
  },
  "luminance": 0.03883
}

Semantic roles & 50–950 ramp

primary
#5D1569
secondary
#49A03A
accent
#EA3E57
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5D1569

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

Preview Lab → · Contrast checker → · Palette generator →

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