#571666#571666

#571666 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.7% C 0.140 H 319.3°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#571666
RGBrgb(87, 22, 102)
HSLhsl(289, 65%, 24%)
HSVhsv(289, 78%, 40%)
CMYKcmyk(14.7%, 78.4%, 0%, 60%)
CIE-LABlab(22.16, 41.19, -32.45)
CIE-LCHlch(22.16, 52.44, 321.77°)
OKLaboklab(34.72% 0.1059 -0.0911)
OKLCHoklch(34.72% 0.14 319.3)
XYZxyz(6.6154, 3.5597, 12.9064)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571666 #256616
analogous
#2F1666 #571666 #66164D
triadic
#571666 #665716 #166657
tetradic
#571666 #662F16 #256616 #164D66
square
#571666 #662F16 #256616 #164D66
split-complementary
#571666 #4D6616 #16662F
monochromatic
#150519 #2C0B34 #571666 #822198 #AD2CCB

Accessibility & contrast

On white

12.27
#571666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#571666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571666
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571666#FFFFFF#000000##FFFFFF
##5716661.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003168
Deuteranopia (green-blind)
#1C3764
Tritanopia (blue-blind)
#57263D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #571666;
/* rgb */ color: rgb(87, 22, 102);
/* oklch */ color: oklch(34.7% 0.140 319.3);
Tailwind
colors: {
  custom: {
    50: '#895b92',
    500: '#571666',
    950: '#000000',
  },
}
SCSS
$custom: #571666;
$custom-light: #895b92;
$custom-dark: #000000;
JSON
{
  "hex": "#571666",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 288.75,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34715,
    "c": 0.13965,
    "h": 319.3
  },
  "luminance": 0.03559
}

Semantic roles & 50–950 ramp

primary
#571666
secondary
#4D9D3B
accent
#E84060
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #571666

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

Preview Lab → · Contrast checker → · Palette generator →

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