#571B57#571B57

#571B57 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.2% C 0.119 H 327.8°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#571B57
RGBrgb(87, 27, 87)
HSLhsl(300, 53%, 22%)
HSVhsv(300, 69%, 34%)
CMYKcmyk(0%, 69%, 0%, 65.9%)
CIE-LABlab(21.94, 36.02, -22.89)
CIE-LCHlch(21.94, 42.68, 327.57°)
OKLaboklab(34.24% 0.1004 -0.0632)
OKLCHoklch(34.24% 0.119 327.8)
XYZxyz(6.0426, 3.4986, 9.3720)
Luminance0.0350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B57 #1B571B
analogous
#391B57 #571B57 #571B39
triadic
#571B57 #57571B #1B5757
tetradic
#571B57 #57391B #1B571B #1B3957
square
#571B57 #57391B #1B571B #1B3957
split-complementary
#571B57 #39571B #1B5739
monochromatic
#170717 #280D28 #571B57 #862986 #B438B4

Accessibility & contrast

On white

12.36
#571B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#571B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B57
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B57#FFFFFF#000000##FFFFFF
##571B571.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132F59
Deuteranopia (green-blind)
#2A3755
Tritanopia (blue-blind)
#5A2336
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571b57;
/* rgb */ color: rgb(87, 27, 87);
/* oklch */ color: oklch(34.2% 0.119 327.8);
Tailwind
colors: {
  custom: {
    50: '#895d86',
    500: '#571b57',
    950: '#000000',
  },
}
SCSS
$custom: #571b57;
$custom-light: #895d86;
$custom-dark: #000000;
JSON
{
  "hex": "#571b57",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 87
  },
  "hsl": {
    "h": 300,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34244,
    "c": 0.11865,
    "h": 327.8
  },
  "luminance": 0.03498
}

Semantic roles & 50–950 ramp

primary
#571B57
secondary
#418D41
accent
#DC4C4C
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571B57

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

Preview Lab → · Contrast checker → · Palette generator →

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