#571D5F#571D5F

#571D5F is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.0% C 0.123 H 322.6°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#571D5F
RGBrgb(87, 29, 95)
HSLhsl(293, 53%, 24%)
HSVhsv(293, 69%, 37%)
CMYKcmyk(8.4%, 69.5%, 0%, 62.7%)
CIE-LABlab(22.76, 36.71, -26.89)
CIE-LCHlch(22.76, 45.50, 323.77°)
OKLaboklab(35% 0.0981 -0.0749)
OKLCHoklch(35% 0.123 322.6)
XYZxyz(6.4352, 3.7315, 11.2056)
Luminance0.0373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D5F #255F1D
analogous
#361D5F #571D5F #5F1D46
triadic
#571D5F #5F571D #1D5F57
tetradic
#571D5F #5F361D #255F1D #1D465F
square
#571D5F #5F361D #255F1D #1D465F
split-complementary
#571D5F #465F1D #1D5F36
monochromatic
#150717 #2C0F30 #571D5F #822B8E #AD3ABD

Accessibility & contrast

On white

12.03
#571D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#571D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D5F
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D5F#FFFFFF#000000##FFFFFF
##571D5F1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3261
Deuteranopia (green-blind)
#26395D
Tritanopia (blue-blind)
#58283B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571d5f;
/* rgb */ color: rgb(87, 29, 95);
/* oklch */ color: oklch(35.0% 0.123 322.6);
Tailwind
colors: {
  custom: {
    50: '#895e8d',
    500: '#571d5f',
    950: '#000000',
  },
}
SCSS
$custom: #571d5f;
$custom-light: #895e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#571d5f",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 292.727,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34997,
    "c": 0.1234,
    "h": 322.6
  },
  "luminance": 0.03731
}

Semantic roles & 50–950 ramp

primary
#571D5F
secondary
#4D9444
accent
#DD4B5D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #571D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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