#571A72#571A72

#571A72 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.147 H 313.1°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#571A72
RGBrgb(87, 26, 114)
HSLhsl(282, 63%, 27%)
HSVhsv(282, 77%, 45%)
CMYKcmyk(23.7%, 77.2%, 0%, 55.3%)
CIE-LABlab(23.61, 42.18, -37.91)
CIE-LCHlch(23.61, 56.71, 318.05°)
OKLaboklab(36.02% 0.1001 -0.1071)
OKLCHoklch(36.02% 0.147 313.1)
XYZxyz(7.3366, 3.9802, 16.2981)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A72 #35721A
analogous
#2B1A72 #571A72 #721A61
triadic
#571A72 #72571A #1A7257
tetradic
#571A72 #722B1A #35721A #1A6172
square
#571A72 #722B1A #35721A #1A6172
split-complementary
#571A72 #61721A #1A722B
monochromatic
#130619 #310F40 #571A72 #7D25A4 #A135D1

Accessibility & contrast

On white

11.69
#571A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#571A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A72
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A72#FFFFFF#000000##FFFFFF
##571A721.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#113A70
Tritanopia (blue-blind)
#542E45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571a72;
/* rgb */ color: rgb(87, 26, 114);
/* oklch */ color: oklch(36.0% 0.147 313.1);
Tailwind
colors: {
  custom: {
    50: '#8a5d9b',
    500: '#571a72',
    950: '#000000',
  },
}
SCSS
$custom: #571a72;
$custom-light: #8a5d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#571a72",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 281.591,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3602,
    "c": 0.1466,
    "h": 313.1
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

primary
#571A72
secondary
#60A741
accent
#E64274
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571A72

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

Preview Lab → · Contrast checker → · Palette generator →

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