#571B5F#571B5F

#571B5F is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.126 H 322.8°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#571B5F
RGBrgb(87, 27, 95)
HSLhsl(293, 56%, 24%)
HSVhsv(293, 72%, 37%)
CMYKcmyk(8.4%, 71.6%, 0%, 62.7%)
CIE-LABlab(22.43, 37.63, -27.42)
CIE-LCHlch(22.43, 46.56, 323.92°)
OKLaboklab(34.76% 0.1006 -0.0764)
OKLCHoklch(34.76% 0.126 322.8)
XYZxyz(6.3878, 3.6367, 11.1897)
Luminance0.0364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B5F #235F1B
analogous
#351B5F #571B5F #5F1B45
triadic
#571B5F #5F571B #1B5F57
tetradic
#571B5F #5F351B #235F1B #1B455F
square
#571B5F #5F351B #235F1B #1B455F
split-complementary
#571B5F #455F1B #1B5F35
monochromatic
#160718 #2B0D2F #571B5F #83298F #AE36BE

Accessibility & contrast

On white

12.16
#571B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#571B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B5F
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B5F#FFFFFF#000000##FFFFFF
##571B5F1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093161
Deuteranopia (green-blind)
#25385D
Tritanopia (blue-blind)
#58263A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571b5f;
/* rgb */ color: rgb(87, 27, 95);
/* oklch */ color: oklch(34.8% 0.126 322.8);
Tailwind
colors: {
  custom: {
    50: '#895d8d',
    500: '#571b5f',
    950: '#000000',
  },
}
SCSS
$custom: #571b5f;
$custom-light: #895d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#571b5f",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 95
  },
  "hsl": {
    "h": 292.941,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34758,
    "c": 0.12633,
    "h": 322.8
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#571B5F
secondary
#4B9541
accent
#DF495A
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #571B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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