#571A5E#571A5E

#571A5E is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.6% C 0.127 H 323.4°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#571A5E
RGBrgb(87, 26, 94)
HSLhsl(294, 57%, 24%)
HSVhsv(294, 72%, 37%)
CMYKcmyk(7.4%, 72.3%, 0%, 63.1%)
CIE-LABlab(22.21, 37.88, -27.11)
CIE-LCHlch(22.21, 46.58, 324.40°)
OKLaboklab(34.58% 0.1018 -0.0755)
OKLCHoklch(34.58% 0.127 323.4)
XYZxyz(6.3201, 3.5735, 10.9444)
Luminance0.0357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A5E #215E1A
analogous
#351A5E #571A5E #5E1A43
triadic
#571A5E #5E571A #1A5E57
tetradic
#571A5E #5E351A #215E1A #1A435E
square
#571A5E #5E351A #215E1A #1A435E
split-complementary
#571A5E #435E1A #1A5E35
monochromatic
#160718 #2B0D2E #571A5E #83278E #B035BE

Accessibility & contrast

On white

12.25
#571A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#571A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A5E
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A5E#FFFFFF#000000##FFFFFF
##571A5E1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083160
Deuteranopia (green-blind)
#25385C
Tritanopia (blue-blind)
#592539
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571a5e;
/* rgb */ color: rgb(87, 26, 94);
/* oklch */ color: oklch(34.6% 0.127 323.4);
Tailwind
colors: {
  custom: {
    50: '#895c8c',
    500: '#571a5e',
    950: '#000000',
  },
}
SCSS
$custom: #571a5e;
$custom-light: #895c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#571a5e",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 293.824,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34577,
    "c": 0.12677,
    "h": 323.4
  },
  "luminance": 0.03573
}

Semantic roles & 50–950 ramp

primary
#571A5E
secondary
#499440
accent
#E04858
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #571A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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