#571D79#571D79

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

Color values

HEX#571D79
RGBrgb(87, 29, 121)
HSLhsl(278, 61%, 29%)
HSVhsv(278, 76%, 47%)
CMYKcmyk(28.1%, 76%, 0%, 52.5%)
CIE-LABlab(24.59, 42.50, -40.78)
CIE-LCHlch(24.59, 58.90, 316.18°)
OKLaboklab(36.89% 0.0958 -0.1156)
OKLCHoklch(36.89% 0.15 309.7)
XYZxyz(7.8203, 4.2856, 18.5007)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D79 #3F791D
analogous
#291D79 #571D79 #791D6D
triadic
#571D79 #79571D #1D7957
tetradic
#571D79 #79291D #3F791D #1D6D79
square
#571D79 #79291D #3F791D #1D6D79
split-complementary
#571D79 #6D791D #1D7929
monochromatic
#120619 #341148 #571D79 #7A29AA #9B3FD1

Accessibility & contrast

On white

11.31
#571D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571D79
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D79#FFFFFF#000000##FFFFFF
##571D791.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#073B77
Tritanopia (blue-blind)
#523249
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571d79;
/* rgb */ color: rgb(87, 29, 121);
/* oklch */ color: oklch(36.9% 0.150 309.7);
Tailwind
colors: {
  custom: {
    50: '#8a5fa0',
    500: '#571d79',
    950: '#000000',
  },
}
SCSS
$custom: #571d79;
$custom-light: #8a5fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#571d79",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 277.826,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3689,
    "c": 0.15013,
    "h": 309.7
  },
  "luminance": 0.04285
}

Semantic roles & 50–950 ramp

primary
#571D79
secondary
#6BAD45
accent
#E4437F
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #571D79

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

Preview Lab → · Contrast checker → · Palette generator →

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