#571559#571559

#571559 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.129 H 326.7°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#571559
RGBrgb(87, 21, 89)
HSLhsl(298, 62%, 22%)
HSVhsv(298, 76%, 35%)
CMYKcmyk(2.2%, 76.4%, 0%, 65.1%)
CIE-LABlab(21.15, 38.98, -25.48)
CIE-LCHlch(21.15, 46.57, 326.83°)
OKLaboklab(33.71% 0.1077 -0.0707)
OKLCHoklch(33.71% 0.129 326.7)
XYZxyz(6.0017, 3.2842, 9.7671)
Luminance0.0328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571559 #175915
analogous
#351559 #571559 #591539
triadic
#571559 #595715 #155957
tetradic
#571559 #593515 #175915 #153959
square
#571559 #593515 #175915 #153959
split-complementary
#571559 #395915 #155935
monochromatic
#180619 #270927 #571559 #87218B #B82CBC

Accessibility & contrast

On white

12.68
#571559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#571559 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571559
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571559#FFFFFF#000000##FFFFFF
##5715591.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062D5B
Deuteranopia (green-blind)
#253657
Tritanopia (blue-blind)
#5A2035
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #571559;
/* rgb */ color: rgb(87, 21, 89);
/* oklch */ color: oklch(33.7% 0.129 326.7);
Tailwind
colors: {
  custom: {
    50: '#895a88',
    500: '#571559',
    950: '#000000',
  },
}
SCSS
$custom: #571559;
$custom-light: #895a88;
$custom-dark: #000000;
JSON
{
  "hex": "#571559",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 89
  },
  "hsl": {
    "h": 298.235,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33713,
    "c": 0.12882,
    "h": 326.7
  },
  "luminance": 0.03284
}

Semantic roles & 50–950 ramp

primary
#571559
secondary
#3C9139
accent
#E54348
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571559

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

Preview Lab → · Contrast checker → · Palette generator →

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