#571572#571572

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

Color values

HEX#571572
RGBrgb(87, 21, 114)
HSLhsl(283, 69%, 26%)
HSVhsv(283, 82%, 45%)
CMYKcmyk(23.7%, 81.6%, 0%, 55.3%)
CIE-LABlab(22.92, 44.14, -39.01)
CIE-LCHlch(22.92, 58.91, 318.53°)
OKLaboklab(35.54% 0.1049 -0.1103)
OKLCHoklch(35.54% 0.152 313.6)
XYZxyz(7.2354, 3.7777, 16.2644)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571572 #307215
analogous
#291572 #571572 #72155F
triadic
#571572 #725715 #157257
tetradic
#571572 #722915 #307215 #155F72
square
#571572 #722915 #307215 #155F72
split-complementary
#571572 #5F7215 #157229
monochromatic
#14051A #300B3E #571572 #7E1FA6 #A52AD8

Accessibility & contrast

On white

11.96
#571572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#571572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571572
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571572#FFFFFF#000000##FFFFFF
##5715721.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571572;
/* rgb */ color: rgb(87, 21, 114);
/* oklch */ color: oklch(35.5% 0.152 313.6);
Tailwind
colors: {
  custom: {
    50: '#8a5b9b',
    500: '#571572',
    950: '#000000',
  },
}
SCSS
$custom: #571572;
$custom-light: #8a5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#571572",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 282.581,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35538,
    "c": 0.15224,
    "h": 313.6
  },
  "luminance": 0.03777
}

Semantic roles & 50–950 ramp

primary
#571572
secondary
#5AA83B
accent
#EC3C6F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571572

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

Preview Lab → · Contrast checker → · Palette generator →

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