#571B56#571B56

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

Color values

HEX#571B56
RGBrgb(87, 27, 86)
HSLhsl(301, 53%, 22%)
HSVhsv(301, 69%, 34%)
CMYKcmyk(0%, 69%, 1.1%, 65.9%)
CIE-LABlab(21.88, 35.83, -22.32)
CIE-LCHlch(21.88, 42.21, 328.08°)
OKLaboklab(34.18% 0.1003 -0.0616)
OKLCHoklch(34.18% 0.118 328.5)
XYZxyz(6.0021, 3.4824, 9.1583)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B56 #1B571C
analogous
#3A1B57 #571B56 #571B38
triadic
#571B56 #56571B #1B5657
tetradic
#571B56 #573A1B #1B571C #1B3857
square
#571B56 #573A1B #1B571C #1B3857
split-complementary
#571B56 #38571B #1B573A
monochromatic
#170717 #280D28 #571B56 #862984 #B438B2

Accessibility & contrast

On white

12.38
#571B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571B56
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B56#FFFFFF#000000##FFFFFF
##571B561.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142F58
Deuteranopia (green-blind)
#2A3754
Tritanopia (blue-blind)
#5A2336
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #571b56;
/* rgb */ color: rgb(87, 27, 86);
/* oklch */ color: oklch(34.2% 0.118 328.5);
Tailwind
colors: {
  custom: {
    50: '#895d86',
    500: '#571b56',
    950: '#000000',
  },
}
SCSS
$custom: #571b56;
$custom-light: #895d86;
$custom-dark: #000000;
JSON
{
  "hex": "#571b56",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 301,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34182,
    "c": 0.11771,
    "h": 328.5
  },
  "luminance": 0.03482
}

Semantic roles & 50–950 ramp

primary
#571B56
secondary
#418D42
accent
#DC4E4C
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571B56

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

Preview Lab → · Contrast checker → · Palette generator →

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