#571A58#571A58

#571A58 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.2% C 0.121 H 327.2°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#571A58
RGBrgb(87, 26, 88)
HSLhsl(299, 54%, 22%)
HSVhsv(299, 70%, 35%)
CMYKcmyk(1.1%, 70.5%, 0%, 65.5%)
CIE-LABlab(21.84, 36.68, -23.72)
CIE-LCHlch(21.84, 43.68, 327.10°)
OKLaboklab(34.19% 0.1017 -0.0656)
OKLCHoklch(34.19% 0.121 327.2)
XYZxyz(6.0612, 3.4700, 9.5812)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A58 #1B581A
analogous
#381A58 #571A58 #581A3A
triadic
#571A58 #58571A #1A5857
tetradic
#571A58 #58381A #1B581A #1A3A58
square
#571A58 #58381A #1B581A #1A3A58
split-complementary
#571A58 #3A581A #1A5838
monochromatic
#170718 #280C29 #571A58 #862887 #B436B6

Accessibility & contrast

On white

12.40
#571A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#571A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A58
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A58#FFFFFF#000000##FFFFFF
##571A581.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112F5A
Deuteranopia (green-blind)
#283756
Tritanopia (blue-blind)
#5A2336
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #571a58;
/* rgb */ color: rgb(87, 26, 88);
/* oklch */ color: oklch(34.2% 0.121 327.2);
Tailwind
colors: {
  custom: {
    50: '#895c87',
    500: '#571a58',
    950: '#000000',
  },
}
SCSS
$custom: #571a58;
$custom-light: #895c87;
$custom-dark: #000000;
JSON
{
  "hex": "#571a58",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 299.032,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34188,
    "c": 0.12107,
    "h": 327.2
  },
  "luminance": 0.0347
}

Semantic roles & 50–950 ramp

primary
#571A58
secondary
#418E40
accent
#DE4A4C
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571A58

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

Preview Lab → · Contrast checker → · Palette generator →

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