#571C62#571C62

#571C62 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.128 H 321.0°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#571C62
RGBrgb(87, 28, 98)
HSLhsl(291, 56%, 25%)
HSVhsv(291, 71%, 38%)
CMYKcmyk(11.2%, 71.4%, 0%, 61.6%)
CIE-LABlab(22.79, 37.80, -28.82)
CIE-LCHlch(22.79, 47.54, 322.67°)
OKLaboklab(35.08% 0.0993 -0.0805)
OKLCHoklch(35.08% 0.128 321)
XYZxyz(6.5501, 3.7389, 11.9296)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C62 #27621C
analogous
#341C62 #571C62 #621C4A
triadic
#571C62 #62571C #1C6257
tetradic
#571C62 #62341C #27621C #1C4A62
square
#571C62 #62341C #27621C #1C4A62
split-complementary
#571C62 #4A621C #1C6234
monochromatic
#150718 #2D0E32 #571C62 #812A92 #AC37C1

Accessibility & contrast

On white

12.02
#571C62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#571C62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C62
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C62#FFFFFF#000000##FFFFFF
##571C621.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063264
Deuteranopia (green-blind)
#233960
Tritanopia (blue-blind)
#58283C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571c62;
/* rgb */ color: rgb(87, 28, 98);
/* oklch */ color: oklch(35.1% 0.128 321.0);
Tailwind
colors: {
  custom: {
    50: '#895e8f',
    500: '#571c62',
    950: '#000000',
  },
}
SCSS
$custom: #571c62;
$custom-light: #895e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#571c62",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 98
  },
  "hsl": {
    "h": 290.571,
    "s": 55.556,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35078,
    "c": 0.12785,
    "h": 321
  },
  "luminance": 0.03739
}

Semantic roles & 50–950 ramp

primary
#571C62
secondary
#509743
accent
#DF4960
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #571C62

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

Preview Lab → · Contrast checker → · Palette generator →

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