#571B5B#571B5B

#571B5B is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.5% C 0.122 H 325.2°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#571B5B
RGBrgb(87, 27, 91)
HSLhsl(296, 54%, 23%)
HSVhsv(296, 70%, 36%)
CMYKcmyk(4.4%, 70.3%, 0%, 64.3%)
CIE-LABlab(22.18, 36.82, -25.17)
CIE-LCHlch(22.18, 44.60, 325.64°)
OKLaboklab(34.5% 0.1006 -0.0699)
OKLCHoklch(34.5% 0.122 325.2)
XYZxyz(6.2106, 3.5658, 10.2566)
Luminance0.0357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B5B #1F5B1B
analogous
#371B5B #571B5B #5B1B3F
triadic
#571B5B #5B571B #1B5B57
tetradic
#571B5B #5B371B #1F5B1B #1B3F5B
square
#571B5B #5B371B #1F5B1B #1B3F5B
split-complementary
#571B5B #3F5B1B #1B5B37
monochromatic
#170718 #2A0D2C #571B5B #84298A #B137B9

Accessibility & contrast

On white

12.26
#571B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571B5B
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B5B#FFFFFF#000000##FFFFFF
##571B5B1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F305D
Deuteranopia (green-blind)
#273859
Tritanopia (blue-blind)
#592538
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571b5b;
/* rgb */ color: rgb(87, 27, 91);
/* oklch */ color: oklch(34.5% 0.122 325.2);
Tailwind
colors: {
  custom: {
    50: '#895d8a',
    500: '#571b5b',
    950: '#000000',
  },
}
SCSS
$custom: #571b5b;
$custom-light: #895d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#571b5b",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 91
  },
  "hsl": {
    "h": 296.25,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34496,
    "c": 0.12244,
    "h": 325.2
  },
  "luminance": 0.03565
}

Semantic roles & 50–950 ramp

primary
#571B5B
secondary
#469141
accent
#DE4A53
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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