#571D72#571D72

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

Color values

HEX#571D72
RGBrgb(87, 29, 114)
HSLhsl(281, 59%, 28%)
HSVhsv(281, 75%, 45%)
CMYKcmyk(23.7%, 74.6%, 0%, 55.3%)
CIE-LABlab(24.06, 40.87, -37.16)
CIE-LCHlch(24.06, 55.24, 317.72°)
OKLaboklab(36.35% 0.0969 -0.1049)
OKLCHoklch(36.35% 0.143 312.7)
XYZxyz(7.4066, 4.1201, 16.3214)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D72 #38721D
analogous
#2C1D72 #571D72 #721D62
triadic
#571D72 #72571D #1D7257
tetradic
#571D72 #722C1D #38721D #1D6272
square
#571D72 #722C1D #38721D #1D6272
split-complementary
#571D72 #62721D #1D722C
monochromatic
#130618 #321141 #571D72 #7C29A3 #9F3CCD

Accessibility & contrast

On white

11.51
#571D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571D72
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D72#FFFFFF#000000##FFFFFF
##571D721.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#143A70
Tritanopia (blue-blind)
#542F45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #571d72;
/* rgb */ color: rgb(87, 29, 114);
/* oklch */ color: oklch(36.3% 0.143 312.7);
Tailwind
colors: {
  custom: {
    50: '#8a5f9b',
    500: '#571d72',
    950: '#000000',
  },
}
SCSS
$custom: #571d72;
$custom-light: #8a5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#571d72",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 280.941,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36346,
    "c": 0.14283,
    "h": 312.7
  },
  "luminance": 0.0412
}

Semantic roles & 50–950 ramp

primary
#571D72
secondary
#64A645
accent
#E34577
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571D72

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

Preview Lab → · Contrast checker → · Palette generator →

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