#571668#571668

#571668 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.142 H 318.3°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#571668
RGBrgb(87, 22, 104)
HSLhsl(288, 65%, 25%)
HSVhsv(288, 79%, 41%)
CMYKcmyk(16.3%, 78.8%, 0%, 59.2%)
CIE-LABlab(22.30, 41.61, -33.53)
CIE-LCHlch(22.30, 53.44, 321.14°)
OKLaboklab(34.86% 0.1056 -0.0942)
OKLCHoklch(34.86% 0.142 318.3)
XYZxyz(6.7157, 3.5998, 13.4351)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571668 #276816
analogous
#2E1668 #571668 #681650
triadic
#571668 #685716 #166857
tetradic
#571668 #682E16 #276816 #165068
square
#571668 #682E16 #276816 #165068
split-complementary
#571668 #506816 #16682E
monochromatic
#150519 #2D0B35 #571668 #81219B #AC2BCD

Accessibility & contrast

On white

12.21
#571668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#571668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571668
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571668#FFFFFF#000000##FFFFFF
##5716681.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#1A3766
Tritanopia (blue-blind)
#57273E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571668;
/* rgb */ color: rgb(87, 22, 104);
/* oklch */ color: oklch(34.9% 0.142 318.3);
Tailwind
colors: {
  custom: {
    50: '#8a5b94',
    500: '#571668',
    950: '#000000',
  },
}
SCSS
$custom: #571668;
$custom-light: #8a5b94;
$custom-dark: #000000;
JSON
{
  "hex": "#571668",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 287.561,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34862,
    "c": 0.14155,
    "h": 318.3
  },
  "luminance": 0.036
}

Semantic roles & 50–950 ramp

primary
#571668
secondary
#509F3B
accent
#E84063
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #571668

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

Preview Lab → · Contrast checker → · Palette generator →

#571668 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva