#571A62#571A62

#571A62 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.131 H 321.1°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#571A62
RGBrgb(87, 26, 98)
HSLhsl(291, 58%, 24%)
HSVhsv(291, 73%, 38%)
CMYKcmyk(11.2%, 73.5%, 0%, 61.6%)
CIE-LABlab(22.47, 38.70, -29.33)
CIE-LCHlch(22.47, 48.56, 322.84°)
OKLaboklab(34.85% 0.1017 -0.082)
OKLCHoklch(34.85% 0.131 321.1)
XYZxyz(6.5042, 3.6472, 11.9143)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A62 #25621A
analogous
#331A62 #571A62 #621A49
triadic
#571A62 #62571A #1A6257
tetradic
#571A62 #62331A #25621A #1A4962
square
#571A62 #62331A #25621A #1A4962
split-complementary
#571A62 #49621A #1A6233
monochromatic
#150618 #2C0D32 #571A62 #822792 #AD34C3

Accessibility & contrast

On white

12.14
#571A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#571A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A62
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A62#FFFFFF#000000##FFFFFF
##571A621.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013164
Deuteranopia (green-blind)
#223860
Tritanopia (blue-blind)
#58273C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571a62;
/* rgb */ color: rgb(87, 26, 98);
/* oklch */ color: oklch(34.8% 0.131 321.1);
Tailwind
colors: {
  custom: {
    50: '#895d8f',
    500: '#571a62',
    950: '#000000',
  },
}
SCSS
$custom: #571a62;
$custom-light: #895d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#571a62",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 98
  },
  "hsl": {
    "h": 290.833,
    "s": 58.065,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34848,
    "c": 0.13066,
    "h": 321.1
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#571A62
secondary
#4D9840
accent
#E1475E
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #571A62

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

Preview Lab → · Contrast checker → · Palette generator →

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