#571D71#571D71

#571D71 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.3% C 0.142 H 313.2°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#571D71
RGBrgb(87, 29, 113)
HSLhsl(281, 59%, 28%)
HSVhsv(281, 74%, 44%)
CMYKcmyk(23%, 74.3%, 0%, 55.7%)
CIE-LABlab(23.99, 40.65, -36.64)
CIE-LCHlch(23.99, 54.72, 317.97°)
OKLaboklab(36.27% 0.097 -0.1034)
OKLCHoklch(36.27% 0.142 313.2)
XYZxyz(7.3500, 4.0974, 16.0233)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D71 #37711D
analogous
#2D1D71 #571D71 #711D61
triadic
#571D71 #71571D #1D7157
tetradic
#571D71 #712D1D #37711D #1D6171
square
#571D71 #712D1D #37711D #1D6171
split-complementary
#571D71 #61711D #1D712D
monochromatic
#130618 #321140 #571D71 #7C29A2 #A03CCD

Accessibility & contrast

On white

11.54
#571D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#571D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D71
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D71#FFFFFF#000000##FFFFFF
##571D711.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#163A6F
Tritanopia (blue-blind)
#542F45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #571d71;
/* rgb */ color: rgb(87, 29, 113);
/* oklch */ color: oklch(36.3% 0.142 313.2);
Tailwind
colors: {
  custom: {
    50: '#8a5f9a',
    500: '#571d71',
    950: '#000000',
  },
}
SCSS
$custom: #571d71;
$custom-light: #8a5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#571d71",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 281.429,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36271,
    "c": 0.14179,
    "h": 313.2
  },
  "luminance": 0.04097
}

Semantic roles & 50–950 ramp

primary
#571D71
secondary
#62A544
accent
#E24576
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571D71

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

Preview Lab → · Contrast checker → · Palette generator →

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