#571777#571777

#571777 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.155 H 311.2°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#571777
RGBrgb(87, 23, 119)
HSLhsl(280, 68%, 28%)
HSVhsv(280, 81%, 47%)
CMYKcmyk(26.9%, 80.7%, 0%, 53.3%)
CIE-LABlab(23.58, 44.50, -41.16)
CIE-LCHlch(23.58, 60.62, 317.23°)
OKLaboklab(36.12% 0.1021 -0.1166)
OKLCHoklch(36.12% 0.155 311.2)
XYZxyz(7.5660, 3.9711, 17.8171)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571777 #377717
analogous
#271777 #571777 #771767
triadic
#571777 #775717 #177757
tetradic
#571777 #772717 #377717 #176777
square
#571777 #772717 #377717 #176777
split-complementary
#571777 #677717 #177727
monochromatic
#13051A #320D44 #571777 #7C21AA #A031D7

Accessibility & contrast

On white

11.70
#571777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571777
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571777#FFFFFF#000000##FFFFFF
##5717771.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357A
Deuteranopia (green-blind)
#013975
Tritanopia (blue-blind)
#532E47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571777;
/* rgb */ color: rgb(87, 23, 119);
/* oklch */ color: oklch(36.1% 0.155 311.2);
Tailwind
colors: {
  custom: {
    50: '#8a5c9f',
    500: '#571777',
    950: '#000000',
  },
}
SCSS
$custom: #571777;
$custom-light: #8a5c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#571777",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 280,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36122,
    "c": 0.155,
    "h": 311.2
  },
  "luminance": 0.03971
}

Semantic roles & 50–950 ramp

primary
#571777
secondary
#62AC3E
accent
#EA3D77
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571777

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

Preview Lab → · Contrast checker → · Palette generator →

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