#571A5B#571A5B

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

Color values

HEX#571A5B
RGBrgb(87, 26, 91)
HSLhsl(296, 56%, 23%)
HSVhsv(296, 71%, 36%)
CMYKcmyk(4.4%, 71.4%, 0%, 64.3%)
CIE-LABlab(22.02, 37.27, -25.43)
CIE-LCHlch(22.02, 45.12, 325.70°)
OKLaboklab(34.38% 0.1018 -0.0706)
OKLCHoklch(34.38% 0.124 325.3)
XYZxyz(6.1881, 3.5207, 10.2491)
Luminance0.0352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A5B #1E5B1A
analogous
#361A5B #571A5B #5B1A3E
triadic
#571A5B #5B571A #1A5B57
tetradic
#571A5B #5B361A #1E5B1A #1A3E5B
square
#571A5B #5B361A #1E5B1A #1A3E5B
split-complementary
#571A5B #3E5B1A #1A5B36
monochromatic
#170718 #290C2B #571A5B #85288B #B235BA

Accessibility & contrast

On white

12.32
#571A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571A5B
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A5B#FFFFFF#000000##FFFFFF
##571A5B1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D305D
Deuteranopia (green-blind)
#273759
Tritanopia (blue-blind)
#592438
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571a5b;
/* rgb */ color: rgb(87, 26, 91);
/* oklch */ color: oklch(34.4% 0.124 325.3);
Tailwind
colors: {
  custom: {
    50: '#895c8a',
    500: '#571a5b',
    950: '#000000',
  },
}
SCSS
$custom: #571a5b;
$custom-light: #895c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#571a5b",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 296.308,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3438,
    "c": 0.1239,
    "h": 325.3
  },
  "luminance": 0.0352
}

Semantic roles & 50–950 ramp

primary
#571A5B
secondary
#459140
accent
#DF4952
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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