#5D205D#5D205D

#5D205D is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.2% C 0.120 H 327.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#5D205D
RGBrgb(93, 32, 93)
HSLhsl(300, 49%, 25%)
HSVhsv(300, 66%, 36%)
CMYKcmyk(0%, 65.6%, 0%, 63.5%)
CIE-LABlab(24.16, 36.53, -23.29)
CIE-LCHlch(24.16, 43.32, 327.48°)
OKLaboklab(36.18% 0.1017 -0.0643)
OKLCHoklch(36.18% 0.12 327.7)
XYZxyz(7.0064, 4.1509, 10.7860)
Luminance0.0415 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D205D #205D20
analogous
#3F205D #5D205D #5D203F
triadic
#5D205D #5D5D20 #205D5D
tetradic
#5D205D #5D3F20 #205D20 #203F5D
square
#5D205D #5D3F20 #205D20 #203F5D
split-complementary
#5D205D #3F5D20 #205D3F
monochromatic
#170817 #2F102F #5D205D #8B308B #B83FB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D205D#FFFFFF#000000##FFFFFF
##5D205D1.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)
#19345F
Deuteranopia (green-blind)
#2E3C5B
Tritanopia (blue-blind)
#60283B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5d205d;
/* rgb */ color: rgb(93, 32, 93);
/* oklch */ color: oklch(36.2% 0.120 327.7);
Tailwind
colors: {
  custom: {
    50: '#8d608b',
    500: '#5d205d',
    950: '#000000',
  },
}
SCSS
$custom: #5d205d;
$custom-light: #8d608b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d205d",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 93
  },
  "hsl": {
    "h": 300,
    "s": 48.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.36175,
    "c": 0.12034,
    "h": 327.7
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

primary
#5D205D
secondary
#479147
accent
#D84F4F
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #5D205D

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

Preview Lab → · Contrast checker → · Palette generator →

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