#571A4E#571A4E

#571A4E is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.6% C 0.112 H 334.1°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#571A4E
RGBrgb(87, 26, 78)
HSLhsl(309, 54%, 22%)
HSVhsv(309, 70%, 34%)
CMYKcmyk(0%, 70.1%, 10.3%, 65.9%)
CIE-LABlab(21.27, 34.80, -17.91)
CIE-LCHlch(21.27, 39.13, 332.77°)
OKLaboklab(33.59% 0.1008 -0.0489)
OKLCHoklch(33.59% 0.112 334.1)
XYZxyz(5.6751, 3.3155, 7.5473)
Luminance0.0331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A4E #1A5723
analogous
#411A57 #571A4E #571A30
triadic
#571A4E #4E571A #1A4E57
tetradic
#571A4E #57411A #1A5723 #1A3057
square
#571A4E #57411A #1A5723 #1A3057
split-complementary
#571A4E #30571A #1A5741
monochromatic
#180715 #280C24 #571A4E #862878 #B536A2

Accessibility & contrast

On white

12.63
#571A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#571A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A4E
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A4E#FFFFFF#000000##FFFFFF
##571A4E1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192D50
Deuteranopia (green-blind)
#2D364C
Tritanopia (blue-blind)
#5B1F31
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #571a4e;
/* rgb */ color: rgb(87, 26, 78);
/* oklch */ color: oklch(33.6% 0.112 334.1);
Tailwind
colors: {
  custom: {
    50: '#895c7f',
    500: '#571a4e',
    950: '#000000',
  },
}
SCSS
$custom: #571a4e;
$custom-light: #895c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#571a4e",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 308.852,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3359,
    "c": 0.11203,
    "h": 334.1
  },
  "luminance": 0.03315
}

Semantic roles & 50–950 ramp

primary
#571A4E
secondary
#408D4B
accent
#DD604A
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #571A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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