#571C7A#571C7A

#571C7A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.152 H 309.4°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#571C7A
RGBrgb(87, 28, 122)
HSLhsl(278, 63%, 29%)
HSVhsv(278, 77%, 48%)
CMYKcmyk(28.7%, 77%, 0%, 52.2%)
CIE-LABlab(24.52, 43.17, -41.54)
CIE-LCHlch(24.52, 59.91, 316.10°)
OKLaboklab(36.86% 0.0967 -0.1178)
OKLCHoklch(36.86% 0.152 309.4)
XYZxyz(7.8579, 4.2620, 18.8173)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C7A #3F7A1C
analogous
#281C7A #571C7A #7A1C6E
triadic
#571C7A #7A571C #1C7A57
tetradic
#571C7A #7A281C #3F7A1C #1C6E7A
square
#571C7A #7A281C #3F7A1C #1C6E7A
split-complementary
#571C7A #6E7A1C #1C7A28
monochromatic
#120619 #341148 #571C7A #7A27AC #9B3ED3

Accessibility & contrast

On white

11.34
#571C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#571C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C7A
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C7A#FFFFFF#000000##FFFFFF
##571C7A1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#023B78
Tritanopia (blue-blind)
#52324A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571c7a;
/* rgb */ color: rgb(87, 28, 122);
/* oklch */ color: oklch(36.9% 0.152 309.4);
Tailwind
colors: {
  custom: {
    50: '#8a5fa1',
    500: '#571c7a',
    950: '#000000',
  },
}
SCSS
$custom: #571c7a;
$custom-light: #8a5fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#571c7a",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 277.66,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36862,
    "c": 0.15237,
    "h": 309.4
  },
  "luminance": 0.04262
}

Semantic roles & 50–950 ramp

primary
#571C7A
secondary
#6BAE44
accent
#E6427F
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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