#571776#571776

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

Color values

HEX#571776
RGBrgb(87, 23, 118)
HSLhsl(280, 67%, 28%)
HSVhsv(280, 81%, 46%)
CMYKcmyk(26.3%, 80.5%, 0%, 53.7%)
CIE-LABlab(23.50, 44.28, -40.65)
CIE-LCHlch(23.50, 60.11, 317.45°)
OKLaboklab(36.04% 0.1023 -0.1151)
OKLCHoklch(36.04% 0.154 311.6)
XYZxyz(7.5063, 3.9472, 17.5025)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571776 #367617
analogous
#271776 #571776 #761765
triadic
#571776 #765717 #177657
tetradic
#571776 #762717 #367617 #176576
square
#571776 #762717 #367617 #176576
split-complementary
#571776 #657617 #177627
monochromatic
#13051A #310D43 #571776 #7D21A9 #A131D7

Accessibility & contrast

On white

11.74
#571776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#571776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571776
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571776#FFFFFF#000000##FFFFFF
##5717761.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#043974
Tritanopia (blue-blind)
#532E46
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571776;
/* rgb */ color: rgb(87, 23, 118);
/* oklch */ color: oklch(36.0% 0.154 311.6);
Tailwind
colors: {
  custom: {
    50: '#8a5c9e',
    500: '#571776',
    950: '#000000',
  },
}
SCSS
$custom: #571776;
$custom-light: #8a5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#571776",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 280.421,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36041,
    "c": 0.15401,
    "h": 311.6
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#571776
secondary
#61AB3E
accent
#EA3E76
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571776

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

Preview Lab → · Contrast checker → · Palette generator →

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