#571479#571479

#571479 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.160 H 310.6°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#571479
RGBrgb(87, 20, 121)
HSLhsl(280, 72%, 28%)
HSVhsv(280, 83%, 47%)
CMYKcmyk(28.1%, 83.5%, 0%, 52.5%)
CIE-LABlab(23.36, 46.04, -42.78)
CIE-LCHlch(23.36, 62.85, 317.10°)
OKLaboklab(36.02% 0.1042 -0.1214)
OKLCHoklch(36.02% 0.16 310.6)
XYZxyz(7.6312, 3.9072, 18.4376)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571479 #367914
analogous
#251479 #571479 #791468
triadic
#571479 #795714 #147957
tetradic
#571479 #792514 #367914 #146879
square
#571479 #792514 #367914 #146879
split-complementary
#571479 #687914 #147925
monochromatic
#13041A #310B44 #571479 #7D1DAE #A12BDC

Accessibility & contrast

On white

11.79
#571479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#571479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571479
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571479#FFFFFF#000000##FFFFFF
##5714791.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571479;
/* rgb */ color: rgb(87, 20, 121);
/* oklch */ color: oklch(36.0% 0.160 310.6);
Tailwind
colors: {
  custom: {
    50: '#8b5ba0',
    500: '#571479',
    950: '#000000',
  },
}
SCSS
$custom: #571479;
$custom-light: #8b5ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#571479",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 279.802,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36023,
    "c": 0.15997,
    "h": 310.6
  },
  "luminance": 0.03907
}

Semantic roles & 50–950 ramp

primary
#571479
secondary
#61AF3A
accent
#EE3976
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #571479

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

Preview Lab → · Contrast checker → · Palette generator →

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