#571161#571161

#571161 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.141 H 322.3°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#571161
RGBrgb(87, 17, 97)
HSLhsl(293, 70%, 22%)
HSVhsv(293, 82%, 38%)
CMYKcmyk(10.3%, 82.5%, 0%, 62%)
CIE-LABlab(21.17, 42.00, -30.75)
CIE-LCHlch(21.17, 52.06, 323.79°)
OKLaboklab(33.9% 0.1113 -0.086)
OKLCHoklch(33.9% 0.141 322.3)
XYZxyz(6.2884, 3.2906, 11.6109)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571161 #1B6111
analogous
#2F1161 #571161 #611143
triadic
#571161 #615711 #116157
tetradic
#571161 #612F11 #1B6111 #114361
square
#571161 #612F11 #1B6111 #114361
split-complementary
#571161 #436111 #11612F
monochromatic
#17051A #28082D #571161 #861A95 #B423C9

Accessibility & contrast

On white

12.67
#571161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#571161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571161
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571161#FFFFFF#000000##FFFFFF
##5711611.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E63
Deuteranopia (green-blind)
#1D355F
Tritanopia (blue-blind)
#582139
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #571161;
/* rgb */ color: rgb(87, 17, 97);
/* oklch */ color: oklch(33.9% 0.141 322.3);
Tailwind
colors: {
  custom: {
    50: '#89598e',
    500: '#571161',
    950: '#000000',
  },
}
SCSS
$custom: #571161;
$custom-light: #89598e;
$custom-dark: #000000;
JSON
{
  "hex": "#571161",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 97
  },
  "hsl": {
    "h": 292.5,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33902,
    "c": 0.14065,
    "h": 322.3
  },
  "luminance": 0.0329
}

Semantic roles & 50–950 ramp

primary
#571161
secondary
#419934
accent
#ED3B51
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #571161

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

Preview Lab → · Contrast checker → · Palette generator →

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