#571477#571477

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

Color values

HEX#571477
RGBrgb(87, 20, 119)
HSLhsl(281, 71%, 27%)
HSVhsv(281, 83%, 47%)
CMYKcmyk(26.9%, 83.2%, 0%, 53.3%)
CIE-LABlab(23.20, 45.59, -41.77)
CIE-LCHlch(23.20, 61.83, 317.50°)
OKLaboklab(35.86% 0.1047 -0.1184)
OKLCHoklch(35.86% 0.158 311.5)
XYZxyz(7.5098, 3.8587, 17.7984)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571477 #347714
analogous
#261477 #571477 #771466
triadic
#571477 #775714 #147757
tetradic
#571477 #772614 #347714 #146677
square
#571477 #772614 #347714 #146677
split-complementary
#571477 #667714 #147726
monochromatic
#13041A #310B43 #571477 #7D1DAB #A22ADB

Accessibility & contrast

On white

11.85
#571477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#571477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571477
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571477#FFFFFF#000000##FFFFFF
##5714771.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#532D46
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571477;
/* rgb */ color: rgb(87, 20, 119);
/* oklch */ color: oklch(35.9% 0.158 311.5);
Tailwind
colors: {
  custom: {
    50: '#8b5b9f',
    500: '#571477',
    950: '#000000',
  },
}
SCSS
$custom: #571477;
$custom-light: #8b5b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#571477",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 280.606,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35857,
    "c": 0.15806,
    "h": 311.5
  },
  "luminance": 0.03858
}

Semantic roles & 50–950 ramp

primary
#571477
secondary
#5FAD3A
accent
#EE3A74
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571477

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

Preview Lab → · Contrast checker → · Palette generator →

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