#571A71#571A71

#571A71 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.9% C 0.146 H 313.5°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#571A71
RGBrgb(87, 26, 113)
HSLhsl(282, 63%, 27%)
HSVhsv(282, 77%, 44%)
CMYKcmyk(23%, 77%, 0%, 55.7%)
CIE-LABlab(23.53, 41.95, -37.38)
CIE-LCHlch(23.53, 56.19, 318.29°)
OKLaboklab(35.94% 0.1003 -0.1056)
OKLCHoklch(35.94% 0.146 313.5)
XYZxyz(7.2800, 3.9575, 16.0000)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A71 #34711A
analogous
#2C1A71 #571A71 #711A60
triadic
#571A71 #71571A #1A7157
tetradic
#571A71 #712C1A #34711A #1A6071
square
#571A71 #712C1A #34711A #1A6071
split-complementary
#571A71 #60711A #1A712C
monochromatic
#130619 #310F3F #571A71 #7D25A3 #A235D0

Accessibility & contrast

On white

11.72
#571A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#571A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A71
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A71#FFFFFF#000000##FFFFFF
##571A711.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#12396F
Tritanopia (blue-blind)
#542D44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571a71;
/* rgb */ color: rgb(87, 26, 113);
/* oklch */ color: oklch(35.9% 0.146 313.5);
Tailwind
colors: {
  custom: {
    50: '#8a5d9a',
    500: '#571a71',
    950: '#000000',
  },
}
SCSS
$custom: #571a71;
$custom-light: #8a5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#571a71",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 282.069,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35943,
    "c": 0.14559,
    "h": 313.5
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#571A71
secondary
#5FA641
accent
#E64273
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571A71

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

Preview Lab → · Contrast checker → · Palette generator →

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