#571C85#571C85

#571C85 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.164 H 305.1°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#571C85
RGBrgb(87, 28, 133)
HSLhsl(274, 65%, 32%)
HSVhsv(274, 79%, 52%)
CMYKcmyk(34.6%, 78.9%, 0%, 47.8%)
CIE-LABlab(25.41, 45.78, -47.04)
CIE-LCHlch(25.41, 65.63, 314.22°)
OKLaboklab(37.77% 0.0942 -0.1339)
OKLCHoklch(37.77% 0.164 305.1)
XYZxyz(8.5784, 4.5503, 22.6121)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C85 #4A851C
analogous
#231C85 #571C85 #851C7F
triadic
#571C85 #85571C #1C8557
tetradic
#571C85 #85231C #4A851C #1C7F85
square
#571C85 #85231C #4A851C #1C7F85
split-complementary
#571C85 #7F851C #1C8523
monochromatic
#150720 #361152 #571C85 #7827B8 #9744D8

Accessibility & contrast

On white

10.99
#571C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#571C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C85
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C85#FFFFFF#000000##FFFFFF
##571C851.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#4E3750
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571c85;
/* rgb */ color: rgb(87, 28, 133);
/* oklch */ color: oklch(37.8% 0.164 305.1);
Tailwind
colors: {
  custom: {
    50: '#8b5fa9',
    500: '#571c85',
    950: '#000000',
  },
}
SCSS
$custom: #571c85;
$custom-light: #8b5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#571c85",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 273.714,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37771,
    "c": 0.16377,
    "h": 305.1
  },
  "luminance": 0.0455
}

Semantic roles & 50–950 ramp

primary
#571C85
secondary
#77B845
accent
#E84089
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571C85

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

Preview Lab → · Contrast checker → · Palette generator →

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