#571B50#571B50

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

Color values

HEX#571B50
RGBrgb(87, 27, 80)
HSLhsl(307, 53%, 22%)
HSVhsv(307, 69%, 34%)
CMYKcmyk(0%, 69%, 8%, 65.9%)
CIE-LABlab(21.54, 34.70, -18.82)
CIE-LCHlch(21.54, 39.47, 331.52°)
OKLaboklab(33.83% 0.0997 -0.0515)
OKLCHoklch(33.83% 0.112 332.7)
XYZxyz(5.7704, 3.3897, 7.9382)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B50 #1B5722
analogous
#401B57 #571B50 #571B32
triadic
#571B50 #50571B #1B5057
tetradic
#571B50 #57401B #1B5722 #1B3257
square
#571B50 #57401B #1B5722 #1B3257
split-complementary
#571B50 #32571B #1B5740
monochromatic
#170715 #280D25 #571B50 #86297B #B438A6

Accessibility & contrast

On white

12.52
#571B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#571B50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B50
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B50#FFFFFF#000000##FFFFFF
##571B501.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192E52
Deuteranopia (green-blind)
#2D374E
Tritanopia (blue-blind)
#5B2032
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #571b50;
/* rgb */ color: rgb(87, 27, 80);
/* oklch */ color: oklch(33.8% 0.112 332.7);
Tailwind
colors: {
  custom: {
    50: '#895c81',
    500: '#571b50',
    950: '#000000',
  },
}
SCSS
$custom: #571b50;
$custom-light: #895c81;
$custom-dark: #000000;
JSON
{
  "hex": "#571b50",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 80
  },
  "hsl": {
    "h": 307,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33826,
    "c": 0.11223,
    "h": 332.7
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

primary
#571B50
secondary
#418D4A
accent
#DC5D4C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #571B50

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

Preview Lab → · Contrast checker → · Palette generator →

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