#571D68#571D68

#571D68 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.6% C 0.133 H 317.6°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#571D68
RGBrgb(87, 29, 104)
HSLhsl(286, 56%, 26%)
HSVhsv(286, 72%, 41%)
CMYKcmyk(16.3%, 72.1%, 0%, 59.2%)
CIE-LABlab(23.35, 38.63, -31.84)
CIE-LCHlch(23.35, 50.06, 320.50°)
OKLaboklab(35.61% 0.0979 -0.0893)
OKLCHoklch(35.61% 0.133 317.6)
XYZxyz(6.8682, 3.9047, 13.4859)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D68 #2E681D
analogous
#311D68 #571D68 #681D53
triadic
#571D68 #68571D #1D6857
tetradic
#571D68 #68311D #2E681D #1D5368
square
#571D68 #68311D #2E681D #1D5368
split-complementary
#571D68 #53681D #1D6831
monochromatic
#140718 #2F1038 #571D68 #7F2A98 #A738C7

Accessibility & contrast

On white

11.79
#571D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#571D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D68
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D68#FFFFFF#000000##FFFFFF
##571D681.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#1F3966
Tritanopia (blue-blind)
#562B40
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571d68;
/* rgb */ color: rgb(87, 29, 104);
/* oklch */ color: oklch(35.6% 0.133 317.6);
Tailwind
colors: {
  custom: {
    50: '#895e93',
    500: '#571d68',
    950: '#000000',
  },
}
SCSS
$custom: #571d68;
$custom-light: #895e93;
$custom-dark: #000000;
JSON
{
  "hex": "#571d68",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 286.4,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35612,
    "c": 0.13251,
    "h": 317.6
  },
  "luminance": 0.03904
}

Semantic roles & 50–950 ramp

primary
#571D68
secondary
#589D44
accent
#E0486A
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #571D68

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

Preview Lab → · Contrast checker → · Palette generator →

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