#571B52#571B52

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

Color values

HEX#571B52
RGBrgb(87, 27, 82)
HSLhsl(305, 53%, 22%)
HSVhsv(305, 69%, 34%)
CMYKcmyk(0%, 69%, 5.7%, 65.9%)
CIE-LABlab(21.65, 35.07, -20.00)
CIE-LCHlch(21.65, 40.37, 330.31°)
OKLaboklab(33.94% 0.1 -0.0549)
OKLCHoklch(33.94% 0.114 331.2)
XYZxyz(5.8454, 3.4197, 8.3332)
Luminance0.0342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B52 #1B5720
analogous
#3E1B57 #571B52 #571B34
triadic
#571B52 #52571B #1B5257
tetradic
#571B52 #573E1B #1B5720 #1B3457
square
#571B52 #573E1B #1B5720 #1B3457
split-complementary
#571B52 #34571B #1B573E
monochromatic
#170716 #280D26 #571B52 #86297E #B438AA

Accessibility & contrast

On white

12.47
#571B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571B52
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B52#FFFFFF#000000##FFFFFF
##571B521.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172F54
Deuteranopia (green-blind)
#2C3750
Tritanopia (blue-blind)
#5B2133
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #571b52;
/* rgb */ color: rgb(87, 27, 82);
/* oklch */ color: oklch(33.9% 0.114 331.2);
Tailwind
colors: {
  custom: {
    50: '#895c83',
    500: '#571b52',
    950: '#000000',
  },
}
SCSS
$custom: #571b52;
$custom-light: #895c83;
$custom-dark: #000000;
JSON
{
  "hex": "#571b52",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 305,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33942,
    "c": 0.11403,
    "h": 331.2
  },
  "luminance": 0.03419
}

Semantic roles & 50–950 ramp

primary
#571B52
secondary
#418D47
accent
#DC584C
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #571B52

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

Preview Lab → · Contrast checker → · Palette generator →

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