#571A79#571A79

#571A79 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.154 H 310.0°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#571A79
RGBrgb(87, 26, 121)
HSLhsl(279, 65%, 29%)
HSVhsv(279, 79%, 47%)
CMYKcmyk(28.1%, 78.5%, 0%, 52.5%)
CIE-LABlab(24.15, 43.77, -41.51)
CIE-LCHlch(24.15, 60.32, 316.52°)
OKLaboklab(36.57% 0.0988 -0.1177)
OKLCHoklch(36.57% 0.154 310)
XYZxyz(7.7504, 4.1457, 18.4774)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A79 #3C791A
analogous
#281A79 #571A79 #791A6C
triadic
#571A79 #79571A #1A7957
tetradic
#571A79 #79281A #3C791A #1A6C79
square
#571A79 #79281A #3C791A #1A6C79
split-complementary
#571A79 #6C791A #1A7928
monochromatic
#120519 #330F47 #571A79 #7B25AB #9D39D4

Accessibility & contrast

On white

11.48
#571A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#571A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A79
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A79#FFFFFF#000000##FFFFFF
##571A791.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#013A77
Tritanopia (blue-blind)
#523148
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #571a79;
/* rgb */ color: rgb(87, 26, 121);
/* oklch */ color: oklch(36.6% 0.154 310.0);
Tailwind
colors: {
  custom: {
    50: '#8a5ea0',
    500: '#571a79',
    950: '#000000',
  },
}
SCSS
$custom: #571a79;
$custom-light: #8a5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#571a79",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 278.526,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36574,
    "c": 0.15368,
    "h": 310
  },
  "luminance": 0.04146
}

Semantic roles & 50–950 ramp

primary
#571A79
secondary
#68AD41
accent
#E8407C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #571A79

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

Preview Lab → · Contrast checker → · Palette generator →

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