#571167#571167

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

Color values

HEX#571167
RGBrgb(87, 17, 103)
HSLhsl(289, 72%, 24%)
HSVhsv(289, 83%, 40%)
CMYKcmyk(15.5%, 83.5%, 0%, 59.6%)
CIE-LABlab(21.60, 43.21, -34.00)
CIE-LCHlch(21.60, 54.98, 321.80°)
OKLaboklab(34.35% 0.1105 -0.0956)
OKLCHoklch(34.35% 0.146 319.1)
XYZxyz(6.5788, 3.4067, 13.1404)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571167 #216711
analogous
#2C1167 #571167 #67114C
triadic
#571167 #675711 #116757
tetradic
#571167 #672C11 #216711 #114C67
square
#571167 #672C11 #216711 #114C67
split-complementary
#571167 #4C6711 #11672C
monochromatic
#16041A #2B0832 #571167 #831A9C #B022D0

Accessibility & contrast

On white

12.49
#571167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571167
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571167#FFFFFF#000000##FFFFFF
##5711671.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571167;
/* rgb */ color: rgb(87, 17, 103);
/* oklch */ color: oklch(34.3% 0.146 319.1);
Tailwind
colors: {
  custom: {
    50: '#8a5993',
    500: '#571167',
    950: '#000000',
  },
}
SCSS
$custom: #571167;
$custom-light: #8a5993;
$custom-dark: #000000;
JSON
{
  "hex": "#571167",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 288.837,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34345,
    "c": 0.14607,
    "h": 319.1
  },
  "luminance": 0.03406
}

Semantic roles & 50–950 ramp

primary
#571167
secondary
#499F35
accent
#EE395B
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #571167

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

Preview Lab → · Contrast checker → · Palette generator →

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