#571D76#571D76

#571D76 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.147 H 310.9°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#571D76
RGBrgb(87, 29, 118)
HSLhsl(279, 61%, 29%)
HSVhsv(279, 75%, 46%)
CMYKcmyk(26.3%, 75.4%, 0%, 53.7%)
CIE-LABlab(24.36, 41.79, -39.24)
CIE-LCHlch(24.36, 57.33, 316.80°)
OKLaboklab(36.65% 0.0963 -0.111)
OKLCHoklch(36.65% 0.147 310.9)
XYZxyz(7.6392, 4.2132, 17.5468)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D76 #3C761D
analogous
#2B1D76 #571D76 #761D69
triadic
#571D76 #76571D #1D7657
tetradic
#571D76 #762B1D #3C761D #1D6976
square
#571D76 #762B1D #3C761D #1D6976
split-complementary
#571D76 #69761D #1D762B
monochromatic
#120619 #331145 #571D76 #7B29A7 #9D3ED0

Accessibility & contrast

On white

11.40
#571D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#571D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D76
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D76#FFFFFF#000000##FFFFFF
##571D761.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#0E3B74
Tritanopia (blue-blind)
#533148
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571d76;
/* rgb */ color: rgb(87, 29, 118);
/* oklch */ color: oklch(36.7% 0.147 310.9);
Tailwind
colors: {
  custom: {
    50: '#8a5f9e',
    500: '#571d76',
    950: '#000000',
  },
}
SCSS
$custom: #571d76;
$custom-light: #8a5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#571d76",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 279.101,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36654,
    "c": 0.147,
    "h": 310.9
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#571D76
secondary
#68AA45
accent
#E4447C
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571D76

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

Preview Lab → · Contrast checker → · Palette generator →

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