#571C86#571C86

#571C86 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.165 H 304.8°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#571C86
RGBrgb(87, 28, 134)
HSLhsl(273, 65%, 32%)
HSVhsv(273, 79%, 53%)
CMYKcmyk(35.1%, 79.1%, 0%, 47.5%)
CIE-LABlab(25.50, 46.02, -47.53)
CIE-LCHlch(25.50, 66.15, 314.08°)
OKLaboklab(37.86% 0.094 -0.1354)
OKLCHoklch(37.86% 0.165 304.8)
XYZxyz(8.6478, 4.5780, 22.9777)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C86 #4B861C
analogous
#221C86 #571C86 #861C80
triadic
#571C86 #86571C #1C8657
tetradic
#571C86 #86221C #4B861C #1C8086
square
#571C86 #86221C #4B861C #1C8086
split-complementary
#571C86 #80861C #1C8622
monochromatic
#150721 #361153 #571C86 #7827B9 #9744D8

Accessibility & contrast

On white

10.96
#571C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#571C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C86
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C86#FFFFFF#000000##FFFFFF
##571C861.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571c86;
/* rgb */ color: rgb(87, 28, 134);
/* oklch */ color: oklch(37.9% 0.165 304.8);
Tailwind
colors: {
  custom: {
    50: '#8b5faa',
    500: '#571c86',
    950: '#000000',
  },
}
SCSS
$custom: #571c86;
$custom-light: #8b5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#571c86",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 273.396,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37856,
    "c": 0.16481,
    "h": 304.8
  },
  "luminance": 0.04578
}

Semantic roles & 50–950 ramp

primary
#571C86
secondary
#78B945
accent
#E83F8A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571C86

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

Preview Lab → · Contrast checker → · Palette generator →

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