#571379#571379

#571379 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.161 H 310.7°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#571379
RGBrgb(87, 19, 121)
HSLhsl(280, 73%, 27%)
HSVhsv(280, 84%, 47%)
CMYKcmyk(28.1%, 84.3%, 0%, 52.5%)
CIE-LABlab(23.25, 46.38, -42.97)
CIE-LCHlch(23.25, 63.22, 317.18°)
OKLaboklab(35.94% 0.105 -0.1219)
OKLCHoklch(35.94% 0.161 310.7)
XYZxyz(7.6139, 3.8726, 18.4319)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571379 #357913
analogous
#241379 #571379 #791368
triadic
#571379 #795713 #137957
tetradic
#571379 #792413 #357913 #136879
square
#571379 #792413 #357913 #136879
split-complementary
#571379 #687913 #137924
monochromatic
#13041A #310B44 #571379 #7D1BAE #A129DD

Accessibility & contrast

On white

11.83
#571379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#571379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571379
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571379#FFFFFF#000000##FFFFFF
##5713791.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#522E47
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571379;
/* rgb */ color: rgb(87, 19, 121);
/* oklch */ color: oklch(35.9% 0.161 310.7);
Tailwind
colors: {
  custom: {
    50: '#8b5ba0',
    500: '#571379',
    950: '#000000',
  },
}
SCSS
$custom: #571379;
$custom-light: #8b5ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#571379",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 121
  },
  "hsl": {
    "h": 280,
    "s": 72.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35942,
    "c": 0.16091,
    "h": 310.7
  },
  "luminance": 0.03872
}

Semantic roles & 50–950 ramp

primary
#571379
secondary
#60AF39
accent
#F03875
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #571379

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

Preview Lab → · Contrast checker → · Palette generator →

#571379 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva