#571B59#571B59

#571B59 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.121 H 326.5°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#571B59
RGBrgb(87, 27, 89)
HSLhsl(298, 53%, 23%)
HSVhsv(298, 70%, 35%)
CMYKcmyk(2.2%, 69.7%, 0%, 65.1%)
CIE-LABlab(22.06, 36.42, -24.04)
CIE-LCHlch(22.06, 43.63, 326.57°)
OKLaboklab(34.37% 0.1005 -0.0666)
OKLCHoklch(34.37% 0.121 326.5)
XYZxyz(6.1255, 3.5318, 9.8083)
Luminance0.0353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B59 #1D591B
analogous
#381B59 #571B59 #591B3C
triadic
#571B59 #59571B #1B5957
tetradic
#571B59 #59381B #1D591B #1B3C59
square
#571B59 #59381B #1D591B #1B3C59
split-complementary
#571B59 #3C591B #1B5938
monochromatic
#170717 #290D2A #571B59 #852988 #B337B7

Accessibility & contrast

On white

12.31
#571B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#571B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B59
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B59#FFFFFF#000000##FFFFFF
##571B591.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11305B
Deuteranopia (green-blind)
#283757
Tritanopia (blue-blind)
#592437
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571b59;
/* rgb */ color: rgb(87, 27, 89);
/* oklch */ color: oklch(34.4% 0.121 326.5);
Tailwind
colors: {
  custom: {
    50: '#895d88',
    500: '#571b59',
    950: '#000000',
  },
}
SCSS
$custom: #571b59;
$custom-light: #895d88;
$custom-dark: #000000;
JSON
{
  "hex": "#571b59",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 298.065,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34369,
    "c": 0.12053,
    "h": 326.5
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#571B59
secondary
#448F41
accent
#DD4B50
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571B59

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

Preview Lab → · Contrast checker → · Palette generator →

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