#571878#571878

#571878 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.155 H 310.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#571878
RGBrgb(87, 24, 120)
HSLhsl(279, 67%, 28%)
HSVhsv(279, 80%, 47%)
CMYKcmyk(27.5%, 80%, 0%, 52.9%)
CIE-LABlab(23.79, 44.34, -41.45)
CIE-LCHlch(23.79, 60.70, 316.93°)
OKLaboklab(36.3% 0.101 -0.1175)
OKLCHoklch(36.3% 0.155 310.7)
XYZxyz(7.6466, 4.0358, 18.1418)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571878 #397818
analogous
#271878 #571878 #781869
triadic
#571878 #785718 #187857
tetradic
#571878 #782718 #397818 #186978
square
#571878 #782718 #397818 #186978
split-complementary
#571878 #697818 #187827
monochromatic
#12051A #320E45 #571878 #7C22AB #9F34D6

Accessibility & contrast

On white

11.62
#571878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#571878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571878
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571878#FFFFFF#000000##FFFFFF
##5718781.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#003A76
Tritanopia (blue-blind)
#522F47
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #571878;
/* rgb */ color: rgb(87, 24, 120);
/* oklch */ color: oklch(36.3% 0.155 310.7);
Tailwind
colors: {
  custom: {
    50: '#8a5da0',
    500: '#571878',
    950: '#000000',
  },
}
SCSS
$custom: #571878;
$custom-light: #8a5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#571878",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 279.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36297,
    "c": 0.15491,
    "h": 310.7
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

primary
#571878
secondary
#65AD3F
accent
#EA3E79
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #571878

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

Preview Lab → · Contrast checker → · Palette generator →

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