#571F57#571F57

#571F57 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.7% C 0.112 H 327.7°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#571F57
RGBrgb(87, 31, 87)
HSLhsl(300, 47%, 23%)
HSVhsv(300, 64%, 34%)
CMYKcmyk(0%, 64.4%, 0%, 65.9%)
CIE-LABlab(22.64, 34.10, -21.80)
CIE-LCHlch(22.64, 40.47, 327.41°)
OKLaboklab(34.75% 0.0949 -0.0601)
OKLCHoklch(34.75% 0.112 327.7)
XYZxyz(6.1407, 3.6947, 9.4047)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F57 #1F571F
analogous
#3B1F57 #571F57 #571F3B
triadic
#571F57 #57571F #1F5757
tetradic
#571F57 #573B1F #1F571F #1F3B57
square
#571F57 #573B1F #1F571F #1F3B57
split-complementary
#571F57 #3B571F #1F573B
monochromatic
#170817 #2A0F2A #571F57 #842F84 #B13FB1

Accessibility & contrast

On white

12.08
#571F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#571F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F57
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F57#FFFFFF#000000##FFFFFF
##571F571.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183159
Deuteranopia (green-blind)
#2C3955
Tritanopia (blue-blind)
#5A2638
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571f57;
/* rgb */ color: rgb(87, 31, 87);
/* oklch */ color: oklch(34.7% 0.112 327.7);
Tailwind
colors: {
  custom: {
    50: '#885f86',
    500: '#571f57',
    950: '#000000',
  },
}
SCSS
$custom: #571f57;
$custom-light: #885f86;
$custom-dark: #000000;
JSON
{
  "hex": "#571f57",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 300,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34749,
    "c": 0.11237,
    "h": 327.7
  },
  "luminance": 0.03694
}

Semantic roles & 50–950 ramp

primary
#571F57
secondary
#468C46
accent
#D75151
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #571F57

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

Preview Lab → · Contrast checker → · Palette generator →

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