#571A5A#571A5A

#571A5A is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.3% C 0.123 H 325.9°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#571A5A
RGBrgb(87, 26, 90)
HSLhsl(297, 55%, 23%)
HSVhsv(297, 71%, 35%)
CMYKcmyk(3.3%, 71.1%, 0%, 64.7%)
CIE-LABlab(21.96, 37.07, -24.86)
CIE-LCHlch(21.96, 44.64, 326.15°)
OKLaboklab(34.32% 0.1018 -0.0689)
OKLCHoklch(34.32% 0.123 325.9)
XYZxyz(6.1452, 3.5036, 10.0235)
Luminance0.0350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A5A #1D5A1A
analogous
#371A5A #571A5A #5A1A3D
triadic
#571A5A #5A571A #1A5A57
tetradic
#571A5A #5A371A #1D5A1A #1A3D5A
square
#571A5A #5A371A #1D5A1A #1A3D5A
split-complementary
#571A5A #3D5A1A #1A5A37
monochromatic
#170718 #290C2B #571A5A #852889 #B335B9

Accessibility & contrast

On white

12.35
#571A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#571A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A5A
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A5A#FFFFFF#000000##FFFFFF
##571A5A1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E305C
Deuteranopia (green-blind)
#273758
Tritanopia (blue-blind)
#592437
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571a5a;
/* rgb */ color: rgb(87, 26, 90);
/* oklch */ color: oklch(34.3% 0.123 325.9);
Tailwind
colors: {
  custom: {
    50: '#895c89',
    500: '#571a5a',
    950: '#000000',
  },
}
SCSS
$custom: #571a5a;
$custom-light: #895c89;
$custom-dark: #000000;
JSON
{
  "hex": "#571a5a",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 90
  },
  "hsl": {
    "h": 297.188,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34315,
    "c": 0.12295,
    "h": 325.9
  },
  "luminance": 0.03503
}

Semantic roles & 50–950 ramp

primary
#571A5A
secondary
#449040
accent
#DF4950
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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