#571D4E#571D4E

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

Color values

HEX#571D4E
RGBrgb(87, 29, 78)
HSLhsl(309, 50%, 23%)
HSVhsv(309, 67%, 34%)
CMYKcmyk(0%, 66.7%, 10.3%, 65.9%)
CIE-LABlab(21.78, 33.37, -17.10)
CIE-LCHlch(21.78, 37.49, 332.87°)
OKLaboklab(33.97% 0.0966 -0.0466)
OKLCHoklch(33.97% 0.107 334.3)
XYZxyz(5.7450, 3.4555, 7.5706)
Luminance0.0345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D4E #1D5726
analogous
#431D57 #571D4E #571D31
triadic
#571D4E #4E571D #1D4E57
tetradic
#571D4E #57431D #1D5726 #1D3157
square
#571D4E #57431D #1D5726 #1D3157
split-complementary
#571D4E #31571D #1D5743
monochromatic
#170815 #290E25 #571D4E #852C77 #B33CA0

Accessibility & contrast

On white

12.42
#571D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571D4E
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D4E#FFFFFF#000000##FFFFFF
##571D4E1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F4F
Deuteranopia (green-blind)
#2F374C
Tritanopia (blue-blind)
#5B2132
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #571d4e;
/* rgb */ color: rgb(87, 29, 78);
/* oklch */ color: oklch(34.0% 0.107 334.3);
Tailwind
colors: {
  custom: {
    50: '#885d7f',
    500: '#571d4e',
    950: '#000000',
  },
}
SCSS
$custom: #571d4e;
$custom-light: #885d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#571d4e",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 309.31,
    "s": 50,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33967,
    "c": 0.10727,
    "h": 334.3
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#571D4E
secondary
#448C4F
accent
#DA644E
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #571D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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