#571D87#571D87

#571D87 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.165 H 304.3°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#571D87
RGBrgb(87, 29, 135)
HSLhsl(273, 65%, 32%)
HSVhsv(273, 79%, 53%)
CMYKcmyk(35.6%, 78.5%, 0%, 47.1%)
CIE-LABlab(25.73, 45.84, -47.78)
CIE-LCHlch(25.73, 66.21, 313.82°)
OKLaboklab(38.04% 0.0928 -0.1361)
OKLCHoklch(38.04% 0.165 304.3)
XYZxyz(8.7420, 4.6543, 23.3548)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D87 #4D871D
analogous
#221D87 #571D87 #871D82
triadic
#571D87 #87571D #1D8757
tetradic
#571D87 #87221D #4D871D #1D8287
square
#571D87 #87221D #4D871D #1D8287
split-complementary
#571D87 #82871D #1D8722
monochromatic
#160722 #371255 #571D87 #7728B9 #9647D7

Accessibility & contrast

On white

10.88
#571D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571D87
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D87#FFFFFF#000000##FFFFFF
##571D871.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571d87;
/* rgb */ color: rgb(87, 29, 135);
/* oklch */ color: oklch(38.0% 0.165 304.3);
Tailwind
colors: {
  custom: {
    50: '#8b60ab',
    500: '#571d87',
    950: '#000000',
  },
}
SCSS
$custom: #571d87;
$custom-light: #8b60ab;
$custom-dark: #000000;
JSON
{
  "hex": "#571d87",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 272.83,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38043,
    "c": 0.16477,
    "h": 304.3
  },
  "luminance": 0.04654
}

Semantic roles & 50–950 ramp

primary
#571D87
secondary
#7AB946
accent
#E8408C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571D87

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

Preview Lab → · Contrast checker → · Palette generator →

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