#571571#571571

#571571 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.151 H 314.0°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#571571
RGBrgb(87, 21, 113)
HSLhsl(283, 69%, 26%)
HSVhsv(283, 81%, 44%)
CMYKcmyk(23%, 81.4%, 0%, 55.7%)
CIE-LABlab(22.84, 43.92, -38.49)
CIE-LCHlch(22.84, 58.40, 318.77°)
OKLaboklab(35.46% 0.1051 -0.1088)
OKLCHoklch(35.46% 0.151 314)
XYZxyz(7.1788, 3.7551, 15.9662)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571571 #2F7115
analogous
#291571 #571571 #71155D
triadic
#571571 #715715 #157157
tetradic
#571571 #712915 #2F7115 #155D71
square
#571571 #712915 #2F7115 #155D71
split-complementary
#571571 #5D7115 #157129
monochromatic
#14051A #2F0B3D #571571 #7F1FA5 #A629D7

Accessibility & contrast

On white

11.99
#571571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#571571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571571
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571571#FFFFFF#000000##FFFFFF
##5715711.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#0C386F
Tritanopia (blue-blind)
#542B43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571571;
/* rgb */ color: rgb(87, 21, 113);
/* oklch */ color: oklch(35.5% 0.151 314.0);
Tailwind
colors: {
  custom: {
    50: '#8a5b9a',
    500: '#571571',
    950: '#000000',
  },
}
SCSS
$custom: #571571;
$custom-light: #8a5b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#571571",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 283.043,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35459,
    "c": 0.15129,
    "h": 314
  },
  "luminance": 0.03755
}

Semantic roles & 50–950 ramp

primary
#571571
secondary
#59A73B
accent
#EB3C6E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571571

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

Preview Lab → · Contrast checker → · Palette generator →

#571571 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva