#571371#571371

#571371 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.153 H 314.2°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#571371
RGBrgb(87, 19, 113)
HSLhsl(283, 71%, 26%)
HSVhsv(283, 83%, 44%)
CMYKcmyk(23%, 83.2%, 0%, 55.7%)
CIE-LABlab(22.60, 44.63, -38.89)
CIE-LCHlch(22.60, 59.19, 318.93°)
OKLaboklab(35.29% 0.1069 -0.1099)
OKLCHoklch(35.29% 0.153 314.2)
XYZxyz(7.1435, 3.6845, 15.9545)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571371 #2D7113
analogous
#281371 #571371 #71135C
triadic
#571371 #715713 #137157
tetradic
#571371 #712813 #2D7113 #135C71
square
#571371 #712813 #2D7113 #135C71
split-complementary
#571371 #5C7113 #137128
monochromatic
#14041A #2F0A3D #571371 #7F1CA5 #A825DA

Accessibility & contrast

On white

12.09
#571371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#571371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571371
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571371#FFFFFF#000000##FFFFFF
##5713711.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#0A386F
Tritanopia (blue-blind)
#542A42
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571371;
/* rgb */ color: rgb(87, 19, 113);
/* oklch */ color: oklch(35.3% 0.153 314.2);
Tailwind
colors: {
  custom: {
    50: '#8a5a9a',
    500: '#571371',
    950: '#000000',
  },
}
SCSS
$custom: #571371;
$custom-light: #8a5a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#571371",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 283.404,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35287,
    "c": 0.15334,
    "h": 314.2
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

primary
#571371
secondary
#57A838
accent
#EE3A6C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571371

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

Preview Lab → · Contrast checker → · Palette generator →

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