#571877#571877

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

Color values

HEX#571877
RGBrgb(87, 24, 119)
HSLhsl(280, 66%, 28%)
HSVhsv(280, 80%, 47%)
CMYKcmyk(26.9%, 79.8%, 0%, 53.3%)
CIE-LABlab(23.71, 44.12, -40.94)
CIE-LCHlch(23.71, 60.19, 317.14°)
OKLaboklab(36.22% 0.1012 -0.116)
OKLCHoklch(36.22% 0.154 311.1)
XYZxyz(7.5863, 4.0116, 17.8239)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571877 #387718
analogous
#271877 #571877 #771868
triadic
#571877 #775718 #187757
tetradic
#571877 #772718 #387718 #186877
square
#571877 #772718 #387718 #186877
split-complementary
#571877 #687718 #187727
monochromatic
#130519 #320E44 #571877 #7C22AA #9F33D6

Accessibility & contrast

On white

11.65
#571877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571877
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571877#FFFFFF#000000##FFFFFF
##5718771.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#033975
Tritanopia (blue-blind)
#532F47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571877;
/* rgb */ color: rgb(87, 24, 119);
/* oklch */ color: oklch(36.2% 0.154 311.1);
Tailwind
colors: {
  custom: {
    50: '#8a5d9f',
    500: '#571877',
    950: '#000000',
  },
}
SCSS
$custom: #571877;
$custom-light: #8a5d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#571877",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 279.789,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36216,
    "c": 0.15391,
    "h": 311.1
  },
  "luminance": 0.04011
}

Semantic roles & 50–950 ramp

primary
#571877
secondary
#64AC3F
accent
#E93E78
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571877

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

Preview Lab → · Contrast checker → · Palette generator →

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