#571B79#571B79

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

Color values

HEX#571B79
RGBrgb(87, 27, 121)
HSLhsl(278, 64%, 29%)
HSVhsv(278, 78%, 47%)
CMYKcmyk(28.1%, 77.7%, 0%, 52.5%)
CIE-LABlab(24.29, 43.36, -41.27)
CIE-LCHlch(24.29, 59.86, 316.41°)
OKLaboklab(36.68% 0.0979 -0.117)
OKLCHoklch(36.68% 0.153 309.9)
XYZxyz(7.7729, 4.1907, 18.4849)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B79 #3D791B
analogous
#281B79 #571B79 #791B6C
triadic
#571B79 #79571B #1B7957
tetradic
#571B79 #79281B #3D791B #1B6C79
square
#571B79 #79281B #3D791B #1B6C79
split-complementary
#571B79 #6C791B #1B7928
monochromatic
#120619 #331047 #571B79 #7B26AB #9C3BD3

Accessibility & contrast

On white

11.42
#571B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571B79
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B79#FFFFFF#000000##FFFFFF
##571B791.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#033B77
Tritanopia (blue-blind)
#523149
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571b79;
/* rgb */ color: rgb(87, 27, 121);
/* oklch */ color: oklch(36.7% 0.153 309.9);
Tailwind
colors: {
  custom: {
    50: '#8a5ea0',
    500: '#571b79',
    950: '#000000',
  },
}
SCSS
$custom: #571b79;
$custom-light: #8a5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#571b79",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 278.298,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36676,
    "c": 0.15253,
    "h": 309.9
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#571B79
secondary
#69AD43
accent
#E7417D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #571B79

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

Preview Lab → · Contrast checker → · Palette generator →

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