#571A5C#571A5C

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

Color values

HEX#571A5C
RGBrgb(87, 26, 92)
HSLhsl(295, 56%, 23%)
HSVhsv(295, 72%, 36%)
CMYKcmyk(5.4%, 71.7%, 0%, 63.9%)
CIE-LABlab(22.08, 37.47, -25.99)
CIE-LCHlch(22.08, 45.60, 325.25°)
OKLaboklab(34.45% 0.1018 -0.0722)
OKLCHoklch(34.45% 0.125 324.6)
XYZxyz(6.2315, 3.5381, 10.4778)
Luminance0.0354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A5C #1F5C1A
analogous
#361A5C #571A5C #5C1A40
triadic
#571A5C #5C571A #1A5C57
tetradic
#571A5C #5C361A #1F5C1A #1A405C
square
#571A5C #5C361A #1F5C1A #1A405C
split-complementary
#571A5C #405C1A #1A5C36
monochromatic
#170718 #2A0D2C #571A5C #84278C #B135BB

Accessibility & contrast

On white

12.30
#571A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571A5C
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A5C#FFFFFF#000000##FFFFFF
##571A5C1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B305E
Deuteranopia (green-blind)
#26375A
Tritanopia (blue-blind)
#592438
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571a5c;
/* rgb */ color: rgb(87, 26, 92);
/* oklch */ color: oklch(34.4% 0.125 324.6);
Tailwind
colors: {
  custom: {
    50: '#895c8a',
    500: '#571a5c',
    950: '#000000',
  },
}
SCSS
$custom: #571a5c;
$custom-light: #895c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#571a5c",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 295.455,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34445,
    "c": 0.12485,
    "h": 324.6
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#571A5C
secondary
#469240
accent
#DF4954
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #571A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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