#571778#571778

#571778 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.156 H 310.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#571778
RGBrgb(87, 23, 120)
HSLhsl(280, 68%, 28%)
HSVhsv(280, 81%, 47%)
CMYKcmyk(27.5%, 80.8%, 0%, 52.9%)
CIE-LABlab(23.66, 44.73, -41.67)
CIE-LCHlch(23.66, 61.13, 317.03°)
OKLaboklab(36.2% 0.1019 -0.1181)
OKLCHoklch(36.2% 0.156 310.8)
XYZxyz(7.6264, 3.9953, 18.1351)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571778 #387817
analogous
#271778 #571778 #781768
triadic
#571778 #785717 #177857
tetradic
#571778 #782717 #387817 #176878
square
#571778 #782717 #387817 #176878
split-complementary
#571778 #687817 #177827
monochromatic
#13051A #320D45 #571778 #7C21AB #9F32D8

Accessibility & contrast

On white

11.67
#571778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#571778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571778
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571778#FFFFFF#000000##FFFFFF
##5717781.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#522F47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571778;
/* rgb */ color: rgb(87, 23, 120);
/* oklch */ color: oklch(36.2% 0.156 310.8);
Tailwind
colors: {
  custom: {
    50: '#8a5ca0',
    500: '#571778',
    950: '#000000',
  },
}
SCSS
$custom: #571778;
$custom-light: #8a5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#571778",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 279.588,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36203,
    "c": 0.15599,
    "h": 310.8
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#571778
secondary
#64AD3E
accent
#EB3D78
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #571778

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

Preview Lab → · Contrast checker → · Palette generator →

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