#571C72#571C72

#571C72 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.2% C 0.144 H 312.8°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#571C72
RGBrgb(87, 28, 114)
HSLhsl(281, 61%, 28%)
HSVhsv(281, 75%, 45%)
CMYKcmyk(23.7%, 75.4%, 0%, 55.3%)
CIE-LABlab(23.91, 41.32, -37.42)
CIE-LCHlch(23.91, 55.74, 317.83°)
OKLaboklab(36.24% 0.098 -0.1057)
OKLCHoklch(36.24% 0.144 312.8)
XYZxyz(7.3825, 4.0719, 16.3134)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C72 #37721C
analogous
#2C1C72 #571C72 #721C62
triadic
#571C72 #72571C #1C7257
tetradic
#571C72 #722C1C #37721C #1C6272
square
#571C72 #722C1C #37721C #1C6272
split-complementary
#571C72 #62721C #1C722C
monochromatic
#130619 #321041 #571C72 #7C28A3 #A03ACF

Accessibility & contrast

On white

11.57
#571C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#571C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C72
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C72#FFFFFF#000000##FFFFFF
##571C721.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571c72;
/* rgb */ color: rgb(87, 28, 114);
/* oklch */ color: oklch(36.2% 0.144 312.8);
Tailwind
colors: {
  custom: {
    50: '#8a5e9b',
    500: '#571c72',
    950: '#000000',
  },
}
SCSS
$custom: #571c72;
$custom-light: #8a5e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#571c72",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 281.163,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36235,
    "c": 0.14412,
    "h": 312.8
  },
  "luminance": 0.04072
}

Semantic roles & 50–950 ramp

primary
#571C72
secondary
#62A643
accent
#E44476
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571C72

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

Preview Lab → · Contrast checker → · Palette generator →

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