#571D81#571D81

#571D81 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.159 H 306.5°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#571D81
RGBrgb(87, 29, 129)
HSLhsl(275, 63%, 31%)
HSVhsv(275, 78%, 51%)
CMYKcmyk(32.6%, 77.5%, 0%, 49.4%)
CIE-LABlab(25.23, 44.39, -44.82)
CIE-LCHlch(25.23, 63.09, 314.73°)
OKLaboklab(37.54% 0.0942 -0.1274)
OKLCHoklch(37.54% 0.159 306.5)
XYZxyz(8.3314, 4.4900, 21.1924)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D81 #47811D
analogous
#251D81 #571D81 #811D79
triadic
#571D81 #81571D #1D8157
tetradic
#571D81 #81251D #47811D #1D7981
square
#571D81 #81251D #47811D #1D7981
split-complementary
#571D81 #79811D #1D8125
monochromatic
#14071D #35124F #571D81 #7928B3 #9844D5

Accessibility & contrast

On white

11.06
#571D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#571D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D81
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D81#FFFFFF#000000##FFFFFF
##571D811.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#50364E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571d81;
/* rgb */ color: rgb(87, 29, 129);
/* oklch */ color: oklch(37.5% 0.159 306.5);
Tailwind
colors: {
  custom: {
    50: '#8b60a6',
    500: '#571d81',
    950: '#000000',
  },
}
SCSS
$custom: #571d81;
$custom-light: #8b60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#571d81",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 274.8,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37539,
    "c": 0.1585,
    "h": 306.5
  },
  "luminance": 0.0449
}

Semantic roles & 50–950 ramp

primary
#571D81
secondary
#74B446
accent
#E64187
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571D81

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

Preview Lab → · Contrast checker → · Palette generator →

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