#571578#571578

#571578 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 36.0% C 0.158 H 311.0°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#571578
RGBrgb(87, 21, 120)
HSLhsl(280, 70%, 28%)
HSVhsv(280, 83%, 47%)
CMYKcmyk(27.5%, 82.5%, 0%, 52.9%)
CIE-LABlab(23.40, 45.46, -42.08)
CIE-LCHlch(23.40, 61.95, 317.21°)
OKLaboklab(36.03% 0.1036 -0.1193)
OKLCHoklch(36.03% 0.158 311)
XYZxyz(7.5882, 3.9188, 18.1223)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571578 #367815
analogous
#251578 #571578 #781567
triadic
#571578 #785715 #157857
tetradic
#571578 #782515 #367815 #156778
square
#571578 #782515 #367815 #156778
split-complementary
#571578 #677815 #157825
monochromatic
#13051A #310C44 #571578 #7D1EAC #A12DDA

Accessibility & contrast

On white

11.77
#571578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571578
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571578#FFFFFF#000000##FFFFFF
##5715781.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357B
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#532E47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571578;
/* rgb */ color: rgb(87, 21, 120);
/* oklch */ color: oklch(36.0% 0.158 311.0);
Tailwind
colors: {
  custom: {
    50: '#8b5ca0',
    500: '#571578',
    950: '#000000',
  },
}
SCSS
$custom: #571578;
$custom-light: #8b5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#571578",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 280,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36025,
    "c": 0.15804,
    "h": 311
  },
  "luminance": 0.03919
}

Semantic roles & 50–950 ramp

primary
#571578
secondary
#61AE3B
accent
#ED3B76
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #571578

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

Preview Lab → · Contrast checker → · Palette generator →

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