#571478#571478

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

Color values

HEX#571478
RGBrgb(87, 20, 120)
HSLhsl(280, 71%, 27%)
HSVhsv(280, 83%, 47%)
CMYKcmyk(27.5%, 83.3%, 0%, 52.9%)
CIE-LABlab(23.28, 45.81, -42.28)
CIE-LCHlch(23.28, 62.34, 317.30°)
OKLaboklab(35.94% 0.1045 -0.1199)
OKLCHoklch(35.94% 0.159 311.1)
XYZxyz(7.5701, 3.8828, 18.1163)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571478 #357814
analogous
#251478 #571478 #781467
triadic
#571478 #785714 #147857
tetradic
#571478 #782514 #357814 #146778
square
#571478 #782514 #357814 #146778
split-complementary
#571478 #677814 #147825
monochromatic
#13041A #310B44 #571478 #7D1DAC #A12BDC

Accessibility & contrast

On white

11.82
#571478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571478
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571478#FFFFFF#000000##FFFFFF
##5714781.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571478;
/* rgb */ color: rgb(87, 20, 120);
/* oklch */ color: oklch(35.9% 0.159 311.1);
Tailwind
colors: {
  custom: {
    50: '#8b5ba0',
    500: '#571478',
    950: '#000000',
  },
}
SCSS
$custom: #571478;
$custom-light: #8b5ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#571478",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 120
  },
  "hsl": {
    "h": 280.2,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3594,
    "c": 0.15902,
    "h": 311.1
  },
  "luminance": 0.03883
}

Semantic roles & 50–950 ramp

primary
#571478
secondary
#60AE3A
accent
#EE3A75
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #571478

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

Preview Lab → · Contrast checker → · Palette generator →

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