#571B5E#571B5E

#571B5E is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.7% C 0.125 H 323.4°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#571B5E
RGBrgb(87, 27, 94)
HSLhsl(294, 55%, 24%)
HSVhsv(294, 71%, 37%)
CMYKcmyk(7.4%, 71.3%, 0%, 63.1%)
CIE-LABlab(22.37, 37.43, -26.86)
CIE-LCHlch(22.37, 46.07, 324.33°)
OKLaboklab(34.69% 0.1006 -0.0748)
OKLCHoklch(34.69% 0.125 323.4)
XYZxyz(6.3426, 3.6186, 10.9519)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B5E #225E1B
analogous
#351B5E #571B5E #5E1B43
triadic
#571B5E #5E571B #1B5E57
tetradic
#571B5E #5E351B #225E1B #1B435E
square
#571B5E #5E351B #225E1B #1B435E
split-complementary
#571B5E #435E1B #1B5E35
monochromatic
#160718 #2B0D2E #571B5E #83298E #AF36BD

Accessibility & contrast

On white

12.18
#571B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#571B5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B5E
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B5E#FFFFFF#000000##FFFFFF
##571B5E1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3160
Deuteranopia (green-blind)
#25385C
Tritanopia (blue-blind)
#59263A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571b5e;
/* rgb */ color: rgb(87, 27, 94);
/* oklch */ color: oklch(34.7% 0.125 323.4);
Tailwind
colors: {
  custom: {
    50: '#895d8c',
    500: '#571b5e',
    950: '#000000',
  },
}
SCSS
$custom: #571b5e;
$custom-light: #895d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#571b5e",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 94
  },
  "hsl": {
    "h": 293.731,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34692,
    "c": 0.12535,
    "h": 323.4
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#571B5E
secondary
#4A9441
accent
#DF4959
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #571B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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