#571D4F#571D4F

#571D4F is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.0% C 0.108 H 333.5°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#571D4F
RGBrgb(87, 29, 79)
HSLhsl(308, 50%, 23%)
HSVhsv(308, 67%, 34%)
CMYKcmyk(0%, 66.7%, 9.2%, 65.9%)
CIE-LABlab(21.84, 33.55, -17.69)
CIE-LCHlch(21.84, 37.93, 332.20°)
OKLaboklab(34.02% 0.0968 -0.0483)
OKLCHoklch(34.02% 0.108 333.5)
XYZxyz(5.7811, 3.4699, 7.7609)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D4F #1D5725
analogous
#421D57 #571D4F #571D32
triadic
#571D4F #4F571D #1D4F57
tetradic
#571D4F #57421D #1D5725 #1D3257
square
#571D4F #57421D #1D5725 #1D3257
split-complementary
#571D4F #32571D #1D5742
monochromatic
#170815 #290E25 #571D4F #852C79 #B33CA2

Accessibility & contrast

On white

12.40
#571D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#571D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D4F
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D4F#FFFFFF#000000##FFFFFF
##571D4F1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F51
Deuteranopia (green-blind)
#2E374D
Tritanopia (blue-blind)
#5B2133
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #571d4f;
/* rgb */ color: rgb(87, 29, 79);
/* oklch */ color: oklch(34.0% 0.108 333.5);
Tailwind
colors: {
  custom: {
    50: '#885d80',
    500: '#571d4f',
    950: '#000000',
  },
}
SCSS
$custom: #571d4f;
$custom-light: #885d80;
$custom-dark: #000000;
JSON
{
  "hex": "#571d4f",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 308.276,
    "s": 50,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34022,
    "c": 0.10816,
    "h": 333.5
  },
  "luminance": 0.03469
}

Semantic roles & 50–950 ramp

primary
#571D4F
secondary
#448C4E
accent
#DA614E
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #571D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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