#571A6A#571A6A

#571A6A is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.139 H 316.9°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#571A6A
RGBrgb(87, 26, 106)
HSLhsl(286, 61%, 26%)
HSVhsv(286, 75%, 42%)
CMYKcmyk(17.9%, 75.5%, 0%, 58.4%)
CIE-LABlab(23.02, 40.40, -33.68)
CIE-LCHlch(23.02, 52.60, 320.19°)
OKLaboklab(35.42% 0.1012 -0.0947)
OKLCHoklch(35.42% 0.139 316.9)
XYZxyz(6.9010, 3.8059, 14.0040)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A6A #2D6A1A
analogous
#2F1A6A #571A6A #6A1A55
triadic
#571A6A #6A571A #1A6A57
tetradic
#571A6A #6A2F1A #2D6A1A #1A556A
square
#571A6A #6A2F1A #2D6A1A #1A556A
split-complementary
#571A6A #556A1A #1A6A2F
monochromatic
#140619 #2F0E39 #571A6A #7F269B #A832CC

Accessibility & contrast

On white

11.92
#571A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#571A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A6A
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A6A#FFFFFF#000000##FFFFFF
##571A6A1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#1B3968
Tritanopia (blue-blind)
#562A40
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571a6a;
/* rgb */ color: rgb(87, 26, 106);
/* oklch */ color: oklch(35.4% 0.139 316.9);
Tailwind
colors: {
  custom: {
    50: '#895d95',
    500: '#571a6a',
    950: '#000000',
  },
}
SCSS
$custom: #571a6a;
$custom-light: #895d95;
$custom-dark: #000000;
JSON
{
  "hex": "#571a6a",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 106
  },
  "hsl": {
    "h": 285.75,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35417,
    "c": 0.13857,
    "h": 316.9
  },
  "luminance": 0.03806
}

Semantic roles & 50–950 ramp

primary
#571A6A
secondary
#579F40
accent
#E4446A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #571A6A

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

Preview Lab → · Contrast checker → · Palette generator →

#571A6A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva