#571D7F#571D7F

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

Color values

HEX#571D7F
RGBrgb(87, 29, 127)
HSLhsl(276, 63%, 31%)
HSVhsv(276, 77%, 50%)
CMYKcmyk(31.5%, 77.2%, 0%, 50.2%)
CIE-LABlab(25.07, 43.92, -43.82)
CIE-LCHlch(25.07, 62.04, 315.06°)
OKLaboklab(37.37% 0.0947 -0.1245)
OKLCHoklch(37.37% 0.156 307.2)
XYZxyz(8.1998, 4.4374, 20.4991)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D7F #457F1D
analogous
#261D7F #571D7F #7F1D76
triadic
#571D7F #7F571D #1D7F57
tetradic
#571D7F #7F261D #457F1D #1D767F
square
#571D7F #7F261D #457F1D #1D767F
split-complementary
#571D7F #767F1D #1D7F26
monochromatic
#13061B #35124D #571D7F #7928B1 #9942D4

Accessibility & contrast

On white

11.13
#571D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571D7F
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D7F#FFFFFF#000000##FFFFFF
##571D7F1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571d7f;
/* rgb */ color: rgb(87, 29, 127);
/* oklch */ color: oklch(37.4% 0.156 307.2);
Tailwind
colors: {
  custom: {
    50: '#8b5fa5',
    500: '#571d7f',
    950: '#000000',
  },
}
SCSS
$custom: #571d7f;
$custom-light: #8b5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#571d7f",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 275.51,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37374,
    "c": 0.15641,
    "h": 307.2
  },
  "luminance": 0.04437
}

Semantic roles & 50–950 ramp

primary
#571D7F
secondary
#72B245
accent
#E64285
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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