#571A52#571A52

#571A52 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.8% C 0.116 H 331.2°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#571A52
RGBrgb(87, 26, 82)
HSLhsl(305, 54%, 22%)
HSVhsv(305, 70%, 34%)
CMYKcmyk(0%, 70.1%, 5.7%, 65.9%)
CIE-LABlab(21.49, 35.53, -20.26)
CIE-LCHlch(21.49, 40.90, 330.31°)
OKLaboklab(33.82% 0.1013 -0.0556)
OKLCHoklch(33.82% 0.116 331.2)
XYZxyz(5.8229, 3.3747, 8.3257)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A52 #1A571F
analogous
#3E1A57 #571A52 #571A34
triadic
#571A52 #52571A #1A5257
tetradic
#571A52 #573E1A #1A571F #1A3457
square
#571A52 #573E1A #1A571F #1A3457
split-complementary
#571A52 #34571A #1A573E
monochromatic
#180716 #280C26 #571A52 #86287E #B536AB

Accessibility & contrast

On white

12.54
#571A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#571A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A52
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A52#FFFFFF#000000##FFFFFF
##571A521.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162E54
Deuteranopia (green-blind)
#2B3750
Tritanopia (blue-blind)
#5B2033
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #571a52;
/* rgb */ color: rgb(87, 26, 82);
/* oklch */ color: oklch(33.8% 0.116 331.2);
Tailwind
colors: {
  custom: {
    50: '#895c83',
    500: '#571a52',
    950: '#000000',
  },
}
SCSS
$custom: #571a52;
$custom-light: #895c83;
$custom-dark: #000000;
JSON
{
  "hex": "#571a52",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 304.918,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33821,
    "c": 0.11555,
    "h": 331.2
  },
  "luminance": 0.03374
}

Semantic roles & 50–950 ramp

primary
#571A52
secondary
#408D46
accent
#DD564A
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #571A52

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

Preview Lab → · Contrast checker → · Palette generator →

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