#5D205F#5D205F

#5D205F is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.3% C 0.122 H 326.5°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#5D205F
RGBrgb(93, 32, 95)
HSLhsl(298, 50%, 25%)
HSVhsv(298, 66%, 37%)
CMYKcmyk(2.1%, 66.3%, 0%, 62.7%)
CIE-LABlab(24.28, 36.92, -24.42)
CIE-LCHlch(24.28, 44.27, 326.51°)
OKLaboklab(36.3% 0.1019 -0.0676)
OKLCHoklch(36.3% 0.122 326.5)
XYZxyz(7.0961, 4.1868, 11.2586)
Luminance0.0419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D205F #225F20
analogous
#3D205F #5D205F #5F2042
triadic
#5D205F #5F5D20 #205F5D
tetradic
#5D205F #5F3D20 #225F20 #20425F
square
#5D205F #5F3D20 #225F20 #20425F
split-complementary
#5D205F #425F20 #205F3D
monochromatic
#160817 #301131 #5D205F #8A2F8D #B73FBB

Accessibility & contrast

On white

11.43
#5D205F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#5D205F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D205F
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D205F#FFFFFF#000000##FFFFFF
##5D205F1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173561
Deuteranopia (green-blind)
#2D3C5D
Tritanopia (blue-blind)
#60293C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5d205f;
/* rgb */ color: rgb(93, 32, 95);
/* oklch */ color: oklch(36.3% 0.122 326.5);
Tailwind
colors: {
  custom: {
    50: '#8d608d',
    500: '#5d205f',
    950: '#000000',
  },
}
SCSS
$custom: #5d205f;
$custom-light: #8d608d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d205f",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 95
  },
  "hsl": {
    "h": 298.095,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.36296,
    "c": 0.12225,
    "h": 326.5
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#5D205F
secondary
#4A9347
accent
#D94F53
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #5D205F

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

Preview Lab → · Contrast checker → · Palette generator →

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