#571C81#571C81

#571C81 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.160 H 306.6°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#571C81
RGBrgb(87, 28, 129)
HSLhsl(275, 64%, 31%)
HSVhsv(275, 78%, 51%)
CMYKcmyk(32.6%, 78.3%, 0%, 49.4%)
CIE-LABlab(25.08, 44.82, -45.06)
CIE-LCHlch(25.08, 63.55, 314.85°)
OKLaboklab(37.43% 0.0952 -0.1281)
OKLCHoklch(37.43% 0.16 306.6)
XYZxyz(8.3073, 4.4418, 21.1843)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C81 #46811C
analogous
#251C81 #571C81 #811C78
triadic
#571C81 #81571C #1C8157
tetradic
#571C81 #81251C #46811C #1C7881
square
#571C81 #81251C #46811C #1C7881
split-complementary
#571C81 #78811C #1C8125
monochromatic
#13061C #35114F #571C81 #7927B3 #9842D6

Accessibility & contrast

On white

11.12
#571C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#571C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C81
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C81#FFFFFF#000000##FFFFFF
##571C811.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#50354D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571c81;
/* rgb */ color: rgb(87, 28, 129);
/* oklch */ color: oklch(37.4% 0.160 306.6);
Tailwind
colors: {
  custom: {
    50: '#8b5fa6',
    500: '#571c81',
    950: '#000000',
  },
}
SCSS
$custom: #571c81;
$custom-light: #8b5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#571c81",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 275.05,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37434,
    "c": 0.15963,
    "h": 306.6
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#571C81
secondary
#73B444
accent
#E74086
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571C81

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

Preview Lab → · Contrast checker → · Palette generator →

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