#571168#571168

#571168 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.4% C 0.147 H 318.6°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#571168
RGBrgb(87, 17, 104)
HSLhsl(288, 72%, 24%)
HSVhsv(288, 84%, 41%)
CMYKcmyk(16.3%, 83.7%, 0%, 59.2%)
CIE-LABlab(21.68, 43.41, -34.53)
CIE-LCHlch(21.68, 55.47, 321.50°)
OKLaboklab(34.42% 0.1103 -0.0971)
OKLCHoklch(34.42% 0.147 318.6)
XYZxyz(6.6293, 3.4269, 13.4063)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571168 #226811
analogous
#2B1168 #571168 #68114D
triadic
#571168 #685711 #116857
tetradic
#571168 #682B11 #226811 #114D68
square
#571168 #682B11 #226811 #114D68
split-complementary
#571168 #4D6811 #11682B
monochromatic
#16041A #2B0833 #571168 #831A9D #AF22D1

Accessibility & contrast

On white

12.46
#571168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#571168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571168
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571168#FFFFFF#000000##FFFFFF
##5711681.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#163666
Tritanopia (blue-blind)
#57253D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #571168;
/* rgb */ color: rgb(87, 17, 104);
/* oklch */ color: oklch(34.4% 0.147 318.6);
Tailwind
colors: {
  custom: {
    50: '#8a5994',
    500: '#571168',
    950: '#000000',
  },
}
SCSS
$custom: #571168;
$custom-light: #8a5994;
$custom-dark: #000000;
JSON
{
  "hex": "#571168",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 288.276,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34421,
    "c": 0.14698,
    "h": 318.6
  },
  "luminance": 0.03427
}

Semantic roles & 50–950 ramp

primary
#571168
secondary
#4AA035
accent
#EF395D
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #571168

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

Preview Lab → · Contrast checker → · Palette generator →

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