#571D7A#571D7A

#571D7A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.151 H 309.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#571D7A
RGBrgb(87, 29, 122)
HSLhsl(277, 62%, 30%)
HSVhsv(277, 76%, 48%)
CMYKcmyk(28.7%, 76.2%, 0%, 52.2%)
CIE-LABlab(24.67, 42.73, -41.29)
CIE-LCHlch(24.67, 59.42, 315.98°)
OKLaboklab(36.97% 0.0956 -0.1171)
OKLCHoklch(36.97% 0.151 309.2)
XYZxyz(7.8820, 4.3103, 18.8253)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D7A #407A1D
analogous
#281D7A #571D7A #7A1D6F
triadic
#571D7A #7A571D #1D7A57
tetradic
#571D7A #7A281D #407A1D #1D6F7A
square
#571D7A #7A281D #407A1D #1D6F7A
split-complementary
#571D7A #6F7A1D #1D7A28
monochromatic
#120619 #341149 #571D7A #7A29AB #9B40D2

Accessibility & contrast

On white

11.28
#571D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#571D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D7A
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D7A#FFFFFF#000000##FFFFFF
##571D7A1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#043B78
Tritanopia (blue-blind)
#52334A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571d7a;
/* rgb */ color: rgb(87, 29, 122);
/* oklch */ color: oklch(37.0% 0.151 309.2);
Tailwind
colors: {
  custom: {
    50: '#8a5fa1',
    500: '#571d7a',
    950: '#000000',
  },
}
SCSS
$custom: #571d7a;
$custom-light: #8a5fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#571d7a",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 277.419,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36969,
    "c": 0.15117,
    "h": 309.2
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

primary
#571D7A
secondary
#6CAE45
accent
#E54380
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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