#571876#571876

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

Color values

HEX#571876
RGBrgb(87, 24, 118)
HSLhsl(280, 66%, 28%)
HSVhsv(280, 80%, 46%)
CMYKcmyk(26.3%, 79.7%, 0%, 53.7%)
CIE-LABlab(23.63, 43.89, -40.43)
CIE-LCHlch(23.63, 59.67, 317.35°)
OKLaboklab(36.14% 0.1014 -0.1145)
OKLCHoklch(36.14% 0.153 311.5)
XYZxyz(7.5265, 3.9877, 17.5092)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571876 #377618
analogous
#281876 #571876 #761866
triadic
#571876 #765718 #187657
tetradic
#571876 #762818 #377618 #186676
square
#571876 #762818 #377618 #186676
split-complementary
#571876 #667618 #187628
monochromatic
#130519 #320E43 #571876 #7C22A9 #A033D5

Accessibility & contrast

On white

11.68
#571876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571876
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571876#FFFFFF#000000##FFFFFF
##5718761.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571876;
/* rgb */ color: rgb(87, 24, 118);
/* oklch */ color: oklch(36.1% 0.153 311.5);
Tailwind
colors: {
  custom: {
    50: '#8a5d9e',
    500: '#571876',
    950: '#000000',
  },
}
SCSS
$custom: #571876;
$custom-light: #8a5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#571876",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 280.213,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36136,
    "c": 0.15293,
    "h": 311.5
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#571876
secondary
#62AB3F
accent
#E93F77
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571876

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

Preview Lab → · Contrast checker → · Palette generator →

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