#571F52#571F52

#571F52 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.5% C 0.108 H 331.3°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#571F52
RGBrgb(87, 31, 82)
HSLhsl(305, 47%, 23%)
HSVhsv(305, 64%, 34%)
CMYKcmyk(0%, 64.4%, 5.7%, 65.9%)
CIE-LABlab(22.36, 33.12, -18.89)
CIE-LCHlch(22.36, 38.13, 330.30°)
OKLaboklab(34.46% 0.0943 -0.0517)
OKLCHoklch(34.46% 0.108 331.3)
XYZxyz(5.9434, 3.6158, 8.3659)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F52 #1F5724
analogous
#401F57 #571F52 #571F36
triadic
#571F52 #52571F #1F5257
tetradic
#571F52 #57401F #1F5724 #1F3657
square
#571F52 #57401F #1F5724 #1F3657
split-complementary
#571F52 #36571F #1F5740
monochromatic
#170815 #2A0F27 #571F52 #842F7D #B13FA7

Accessibility & contrast

On white

12.19
#571F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#571F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F52
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F52#FFFFFF#000000##FFFFFF
##571F521.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3054
Deuteranopia (green-blind)
#2E3850
Tritanopia (blue-blind)
#5B2435
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571f52;
/* rgb */ color: rgb(87, 31, 82);
/* oklch */ color: oklch(34.5% 0.108 331.3);
Tailwind
colors: {
  custom: {
    50: '#885f83',
    500: '#571f52',
    950: '#000000',
  },
}
SCSS
$custom: #571f52;
$custom-light: #885f83;
$custom-dark: #000000;
JSON
{
  "hex": "#571f52",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 305.357,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34457,
    "c": 0.1076,
    "h": 331.3
  },
  "luminance": 0.03615
}

Semantic roles & 50–950 ramp

primary
#571F52
secondary
#468C4C
accent
#D75D51
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C050A
muted
#7D797C

Preview Lab

Preview with #571F52

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

Preview Lab → · Contrast checker → · Palette generator →

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