#571B5A#571B5A

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

Color values

HEX#571B5A
RGBrgb(87, 27, 90)
HSLhsl(297, 54%, 23%)
HSVhsv(297, 70%, 35%)
CMYKcmyk(3.3%, 70%, 0%, 64.7%)
CIE-LABlab(22.12, 36.62, -24.61)
CIE-LCHlch(22.12, 44.11, 326.10°)
OKLaboklab(34.43% 0.1005 -0.0682)
OKLCHoklch(34.43% 0.121 325.8)
XYZxyz(6.1677, 3.5487, 10.0310)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B5A #1E5A1B
analogous
#371B5A #571B5A #5A1B3D
triadic
#571B5A #5A571B #1B5A57
tetradic
#571B5A #5A371B #1E5A1B #1B3D5A
square
#571B5A #5A371B #1E5A1B #1B3D5A
split-complementary
#571B5A #3D5A1B #1B5A37
monochromatic
#170718 #290D2B #571B5A #852989 #B237B8

Accessibility & contrast

On white

12.28
#571B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571B5A
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B5A#FFFFFF#000000##FFFFFF
##571B5A1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10305C
Deuteranopia (green-blind)
#283858
Tritanopia (blue-blind)
#592438
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571b5a;
/* rgb */ color: rgb(87, 27, 90);
/* oklch */ color: oklch(34.4% 0.121 325.8);
Tailwind
colors: {
  custom: {
    50: '#895d89',
    500: '#571b5a',
    950: '#000000',
  },
}
SCSS
$custom: #571b5a;
$custom-light: #895d89;
$custom-dark: #000000;
JSON
{
  "hex": "#571b5a",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 90
  },
  "hsl": {
    "h": 297.143,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34432,
    "c": 0.12149,
    "h": 325.8
  },
  "luminance": 0.03548
}

Semantic roles & 50–950 ramp

primary
#571B5A
secondary
#459041
accent
#DD4B52
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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