#571D6D#571D6D

#571D6D is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.138 H 315.1°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#571D6D
RGBrgb(87, 29, 109)
HSLhsl(284, 58%, 27%)
HSVhsv(284, 73%, 43%)
CMYKcmyk(20.2%, 73.4%, 0%, 57.3%)
CIE-LABlab(23.70, 39.74, -34.53)
CIE-LCHlch(23.70, 52.64, 319.01°)
OKLaboklab(35.97% 0.0975 -0.0972)
OKLCHoklch(35.97% 0.138 315.1)
XYZxyz(7.1297, 4.0093, 14.8633)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D6D #336D1D
analogous
#2F1D6D #571D6D #6D1D5B
triadic
#571D6D #6D571D #1D6D57
tetradic
#571D6D #6D2F1D #336D1D #1D5B6D
square
#571D6D #6D2F1D #336D1D #1D5B6D
split-complementary
#571D6D #5B6D1D #1D6D2F
monochromatic
#130618 #30103D #571D6D #7E2A9D #A33ACB

Accessibility & contrast

On white

11.66
#571D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#571D6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D6D
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D6D#FFFFFF#000000##FFFFFF
##571D6D1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#1B3A6B
Tritanopia (blue-blind)
#552D43
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571d6d;
/* rgb */ color: rgb(87, 29, 109);
/* oklch */ color: oklch(36.0% 0.138 315.1);
Tailwind
colors: {
  custom: {
    50: '#895f97',
    500: '#571d6d',
    950: '#000000',
  },
}
SCSS
$custom: #571d6d;
$custom-light: #895f97;
$custom-dark: #000000;
JSON
{
  "hex": "#571d6d",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 109
  },
  "hsl": {
    "h": 283.5,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35973,
    "c": 0.13765,
    "h": 315.1
  },
  "luminance": 0.04009
}

Semantic roles & 50–950 ramp

primary
#571D6D
secondary
#5EA244
accent
#E14771
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #571D6D

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

Preview Lab → · Contrast checker → · Palette generator →

#571D6D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva