#571D86#571D86

#571D86 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.164 H 304.6°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#571D86
RGBrgb(87, 29, 134)
HSLhsl(273, 64%, 32%)
HSVhsv(273, 78%, 53%)
CMYKcmyk(35.1%, 78.4%, 0%, 47.5%)
CIE-LABlab(25.64, 45.60, -47.29)
CIE-LCHlch(25.64, 65.69, 313.96°)
OKLaboklab(37.96% 0.0931 -0.1347)
OKLCHoklch(37.96% 0.164 304.6)
XYZxyz(8.6719, 4.6262, 22.9857)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D86 #4C861D
analogous
#231D86 #571D86 #861D81
triadic
#571D86 #86571D #1D8657
tetradic
#571D86 #86231D #4C861D #1D8186
square
#571D86 #86231D #4C861D #1D8186
split-complementary
#571D86 #81861D #1D8623
monochromatic
#160721 #361254 #571D86 #7828B8 #9646D7

Accessibility & contrast

On white

10.91
#571D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#571D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D86
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D86#FFFFFF#000000##FFFFFF
##571D861.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#4E3851
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571d86;
/* rgb */ color: rgb(87, 29, 134);
/* oklch */ color: oklch(38.0% 0.164 304.6);
Tailwind
colors: {
  custom: {
    50: '#8b60aa',
    500: '#571d86',
    950: '#000000',
  },
}
SCSS
$custom: #571d86;
$custom-light: #8b60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#571d86",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 273.143,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37958,
    "c": 0.16372,
    "h": 304.6
  },
  "luminance": 0.04626
}

Semantic roles & 50–950 ramp

primary
#571D86
secondary
#79B946
accent
#E7408B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571D86

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

Preview Lab → · Contrast checker → · Palette generator →

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