#571A5D#571A5D

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

Color values

HEX#571A5D
RGBrgb(87, 26, 93)
HSLhsl(295, 56%, 23%)
HSVhsv(295, 72%, 36%)
CMYKcmyk(6.5%, 72%, 0%, 63.5%)
CIE-LABlab(22.14, 37.67, -26.55)
CIE-LCHlch(22.14, 46.09, 324.82°)
OKLaboklab(34.51% 0.1018 -0.0739)
OKLCHoklch(34.51% 0.126 324)
XYZxyz(6.2755, 3.5557, 10.7096)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A5D #205D1A
analogous
#351A5D #571A5D #5D1A41
triadic
#571A5D #5D571A #1A5D57
tetradic
#571A5D #5D351A #205D1A #1A415D
square
#571A5D #5D351A #205D1A #1A415D
split-complementary
#571A5D #415D1A #1A5D35
monochromatic
#160718 #2A0D2D #571A5D #84278D #B035BD

Accessibility & contrast

On white

12.27
#571A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571A5D
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A5D#FFFFFF#000000##FFFFFF
##571A5D1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A305F
Deuteranopia (green-blind)
#26375B
Tritanopia (blue-blind)
#592539
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571a5d;
/* rgb */ color: rgb(87, 26, 93);
/* oklch */ color: oklch(34.5% 0.126 324.0);
Tailwind
colors: {
  custom: {
    50: '#895c8b',
    500: '#571a5d',
    950: '#000000',
  },
}
SCSS
$custom: #571a5d;
$custom-light: #895c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#571a5d",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 294.627,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34511,
    "c": 0.12581,
    "h": 324
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#571A5D
secondary
#479340
accent
#E04856
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #571A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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