#571C79#571C79

#571C79 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.151 H 309.8°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#571C79
RGBrgb(87, 28, 121)
HSLhsl(278, 62%, 29%)
HSVhsv(278, 77%, 47%)
CMYKcmyk(28.1%, 76.9%, 0%, 52.5%)
CIE-LABlab(24.44, 42.93, -41.03)
CIE-LCHlch(24.44, 59.39, 316.30°)
OKLaboklab(36.78% 0.0969 -0.1163)
OKLCHoklch(36.78% 0.151 309.8)
XYZxyz(7.7962, 4.2374, 18.4926)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C79 #3E791C
analogous
#291C79 #571C79 #791C6D
triadic
#571C79 #79571C #1C7957
tetradic
#571C79 #79291C #3E791C #1C6D79
square
#571C79 #79291C #3E791C #1C6D79
split-complementary
#571C79 #6D791C #1C7929
monochromatic
#120619 #331047 #571C79 #7B28AB #9C3DD2

Accessibility & contrast

On white

11.37
#571C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571C79
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C79#FFFFFF#000000##FFFFFF
##571C791.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571c79;
/* rgb */ color: rgb(87, 28, 121);
/* oklch */ color: oklch(36.8% 0.151 309.8);
Tailwind
colors: {
  custom: {
    50: '#8a5fa0',
    500: '#571c79',
    950: '#000000',
  },
}
SCSS
$custom: #571c79;
$custom-light: #8a5fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#571c79",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 278.065,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36782,
    "c": 0.15135,
    "h": 309.8
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#571C79
secondary
#6AAD44
accent
#E5427E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #571C79

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

Preview Lab → · Contrast checker → · Palette generator →

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