#571164#571164

#571164 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.1% C 0.143 H 320.7°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#571164
RGBrgb(87, 17, 100)
HSLhsl(291, 71%, 23%)
HSVhsv(291, 83%, 39%)
CMYKcmyk(13%, 83%, 0%, 60.8%)
CIE-LABlab(21.39, 42.60, -32.39)
CIE-LCHlch(21.39, 53.51, 322.76°)
OKLaboklab(34.12% 0.1109 -0.0908)
OKLCHoklch(34.12% 0.143 320.7)
XYZxyz(6.4309, 3.3476, 12.3615)
Luminance0.0335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571164 #1E6411
analogous
#2D1164 #571164 #641147
triadic
#571164 #645711 #116457
tetradic
#571164 #642D11 #1E6411 #114764
square
#571164 #642D11 #1E6411 #114764
split-complementary
#571164 #476411 #11642D
monochromatic
#17041A #290830 #571164 #851A98 #B223CD

Accessibility & contrast

On white

12.58
#571164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#571164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571164
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571164#FFFFFF#000000##FFFFFF
##5711641.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#1B3662
Tritanopia (blue-blind)
#58233B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #571164;
/* rgb */ color: rgb(87, 17, 100);
/* oklch */ color: oklch(34.1% 0.143 320.7);
Tailwind
colors: {
  custom: {
    50: '#8a5991',
    500: '#571164',
    950: '#000000',
  },
}
SCSS
$custom: #571164;
$custom-light: #8a5991;
$custom-dark: #000000;
JSON
{
  "hex": "#571164",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 290.602,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34121,
    "c": 0.14335,
    "h": 320.7
  },
  "luminance": 0.03347
}

Semantic roles & 50–950 ramp

primary
#571164
secondary
#459C35
accent
#EE3A56
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040D
muted
#7D797D

Preview Lab

Preview with #571164

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

Preview Lab → · Contrast checker → · Palette generator →

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