#571D54#571D54

#571D54 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.3% C 0.113 H 329.8°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#571D54
RGBrgb(87, 29, 84)
HSLhsl(303, 50%, 23%)
HSVhsv(303, 67%, 34%)
CMYKcmyk(0%, 66.7%, 3.4%, 65.9%)
CIE-LABlab(22.11, 34.49, -20.62)
CIE-LCHlch(22.11, 40.19, 329.13°)
OKLaboklab(34.31% 0.0974 -0.0567)
OKLCHoklch(34.31% 0.113 329.8)
XYZxyz(5.9700, 3.5455, 8.7557)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D54 #1D5720
analogous
#3D1D57 #571D54 #571D37
triadic
#571D54 #54571D #1D5457
tetradic
#571D54 #573D1D #1D5720 #1D3757
square
#571D54 #573D1D #1D5720 #1D3757
split-complementary
#571D54 #37571D #1D573D
monochromatic
#170816 #290E28 #571D54 #852C80 #B33CAD

Accessibility & contrast

On white

12.29
#571D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#571D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D54
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D54#FFFFFF#000000##FFFFFF
##571D541.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183056
Deuteranopia (green-blind)
#2C3852
Tritanopia (blue-blind)
#5A2335
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571d54;
/* rgb */ color: rgb(87, 29, 84);
/* oklch */ color: oklch(34.3% 0.113 329.8);
Tailwind
colors: {
  custom: {
    50: '#895e84',
    500: '#571d54',
    950: '#000000',
  },
}
SCSS
$custom: #571d54;
$custom-light: #895e84;
$custom-dark: #000000;
JSON
{
  "hex": "#571d54",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 84
  },
  "hsl": {
    "h": 303.103,
    "s": 50,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3431,
    "c": 0.11273,
    "h": 329.8
  },
  "luminance": 0.03545
}

Semantic roles & 50–950 ramp

primary
#571D54
secondary
#448C47
accent
#DA554E
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571D54

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

Preview Lab → · Contrast checker → · Palette generator →

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