#571166#571166

#571166 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.145 H 319.6°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#571166
RGBrgb(87, 17, 102)
HSLhsl(289, 71%, 23%)
HSVhsv(289, 83%, 40%)
CMYKcmyk(14.7%, 83.3%, 0%, 60%)
CIE-LABlab(21.53, 43.00, -33.46)
CIE-LCHlch(21.53, 54.49, 322.11°)
OKLaboklab(34.27% 0.1106 -0.094)
OKLCHoklch(34.27% 0.145 319.6)
XYZxyz(6.5289, 3.3868, 12.8776)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571166 #206611
analogous
#2C1166 #571166 #66114A
triadic
#571166 #665711 #116657
tetradic
#571166 #662C11 #206611 #114A66
square
#571166 #662C11 #206611 #114A66
split-complementary
#571166 #4A6611 #11662C
monochromatic
#16041A #2A0832 #571166 #841A9A #B022CF

Accessibility & contrast

On white

12.52
#571166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#571166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571166
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571166#FFFFFF#000000##FFFFFF
##5711661.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F68
Deuteranopia (green-blind)
#193664
Tritanopia (blue-blind)
#57243C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #571166;
/* rgb */ color: rgb(87, 17, 102);
/* oklch */ color: oklch(34.3% 0.145 319.6);
Tailwind
colors: {
  custom: {
    50: '#8a5992',
    500: '#571166',
    950: '#000000',
  },
}
SCSS
$custom: #571166;
$custom-light: #8a5992;
$custom-dark: #000000;
JSON
{
  "hex": "#571166",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 289.412,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3427,
    "c": 0.14516,
    "h": 319.6
  },
  "luminance": 0.03386
}

Semantic roles & 50–950 ramp

primary
#571166
secondary
#479E35
accent
#EE3A59
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #571166

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

Preview Lab → · Contrast checker → · Palette generator →

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