#571372#571372

#571372 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.4% C 0.154 H 313.7°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#571372
RGBrgb(87, 19, 114)
HSLhsl(283, 71%, 26%)
HSVhsv(283, 83%, 45%)
CMYKcmyk(23.7%, 83.3%, 0%, 55.3%)
CIE-LABlab(22.68, 44.84, -39.41)
CIE-LCHlch(22.68, 59.70, 318.69°)
OKLaboklab(35.37% 0.1067 -0.1114)
OKLCHoklch(35.37% 0.154 313.7)
XYZxyz(7.2001, 3.7071, 16.2526)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571372 #2E7213
analogous
#271372 #571372 #72135D
triadic
#571372 #725713 #137257
tetradic
#571372 #722713 #2E7213 #135D72
square
#571372 #722713 #2E7213 #135D72
split-complementary
#571372 #5D7213 #137227
monochromatic
#14041A #2F0A3E #571372 #7F1CA6 #A725DB

Accessibility & contrast

On white

12.06
#571372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571372
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571372#FFFFFF#000000##FFFFFF
##5713721.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#073870
Tritanopia (blue-blind)
#542A43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571372;
/* rgb */ color: rgb(87, 19, 114);
/* oklch */ color: oklch(35.4% 0.154 313.7);
Tailwind
colors: {
  custom: {
    50: '#8a5a9b',
    500: '#571372',
    950: '#000000',
  },
}
SCSS
$custom: #571372;
$custom-light: #8a5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#571372",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 282.947,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35367,
    "c": 0.15428,
    "h": 313.7
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#571372
secondary
#58A938
accent
#EE3A6D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571372

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

Preview Lab → · Contrast checker → · Palette generator →

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