#571C5E#571C5E

#571C5E is a dark, vivid purple. Relative luminance 0.037; OKLCH L 34.8% C 0.124 H 323.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#571C5E
RGBrgb(87, 28, 94)
HSLhsl(294, 54%, 24%)
HSVhsv(294, 70%, 37%)
CMYKcmyk(7.4%, 70.2%, 0%, 63.1%)
CIE-LABlab(22.53, 36.96, -26.60)
CIE-LCHlch(22.53, 45.54, 324.26°)
OKLaboklab(34.81% 0.0993 -0.074)
OKLCHoklch(34.81% 0.124 323.3)
XYZxyz(6.3659, 3.6653, 10.9597)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C5E #235E1C
analogous
#361C5E #571C5E #5E1C44
triadic
#571C5E #5E571C #1C5E57
tetradic
#571C5E #5E361C #235E1C #1C445E
square
#571C5E #5E361C #235E1C #1C445E
split-complementary
#571C5E #445E1C #1C5E36
monochromatic
#160718 #2B0E2F #571C5E #832A8D #AE38BC

Accessibility & contrast

On white

12.12
#571C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#571C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C5E
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C5E#FFFFFF#000000##FFFFFF
##571C5E1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3160
Deuteranopia (green-blind)
#26385C
Tritanopia (blue-blind)
#59273A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571c5e;
/* rgb */ color: rgb(87, 28, 94);
/* oklch */ color: oklch(34.8% 0.124 323.3);
Tailwind
colors: {
  custom: {
    50: '#895d8c',
    500: '#571c5e',
    950: '#000000',
  },
}
SCSS
$custom: #571c5e;
$custom-light: #895d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#571c5e",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 94
  },
  "hsl": {
    "h": 293.636,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3481,
    "c": 0.12389,
    "h": 323.3
  },
  "luminance": 0.03665
}

Semantic roles & 50–950 ramp

primary
#571C5E
secondary
#4B9342
accent
#DD4A5A
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #571C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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