#5D1575#5D1575

#5D1575 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.7% C 0.157 H 315.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#5D1575
RGBrgb(93, 21, 117)
HSLhsl(285, 70%, 27%)
HSVhsv(285, 82%, 46%)
CMYKcmyk(20.5%, 82.1%, 0%, 54.1%)
CIE-LABlab(24.16, 45.97, -38.89)
CIE-LCHlch(24.16, 60.22, 319.77°)
OKLaboklab(36.68% 0.1126 -0.1097)
OKLCHoklch(36.68% 0.157 315.7)
XYZxyz(7.9927, 4.1482, 17.2058)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1575 #2D7515
analogous
#2D1575 #5D1575 #75155D
triadic
#5D1575 #755D15 #15755D
tetradic
#5D1575 #752D15 #2D7515 #155D75
square
#5D1575 #752D15 #2D7515 #155D75
split-complementary
#5D1575 #5D7515 #15752D
monochromatic
#15051A #340C41 #5D1575 #861EA9 #AE2BD9

Accessibility & contrast

On white

11.48
#5D1575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#5D1575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1575
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1575#FFFFFF#000000##FFFFFF
##5D15751.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#123B73
Tritanopia (blue-blind)
#5B2B45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5d1575;
/* rgb */ color: rgb(93, 21, 117);
/* oklch */ color: oklch(36.7% 0.157 315.7);
Tailwind
colors: {
  custom: {
    50: '#8f5c9d',
    500: '#5d1575',
    950: '#000000',
  },
}
SCSS
$custom: #5d1575;
$custom-light: #8f5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1575",
  "rgb": {
    "r": 93,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 285,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3668,
    "c": 0.15725,
    "h": 315.7
  },
  "luminance": 0.04148
}

Semantic roles & 50–950 ramp

primary
#5D1575
secondary
#57AB3B
accent
#EC3B68
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5D1575

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

Preview Lab → · Contrast checker → · Palette generator →

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