#571160#571160

#571160 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.140 H 322.8°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#571160
RGBrgb(87, 17, 96)
HSLhsl(293, 70%, 22%)
HSVhsv(293, 82%, 38%)
CMYKcmyk(9.4%, 82.3%, 0%, 62.4%)
CIE-LABlab(21.10, 41.81, -30.20)
CIE-LCHlch(21.10, 51.57, 324.15°)
OKLaboklab(33.83% 0.1114 -0.0844)
OKLCHoklch(33.83% 0.14 322.8)
XYZxyz(6.2420, 3.2720, 11.3668)
Luminance0.0327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571160 #1A6011
analogous
#301160 #571160 #601141
triadic
#571160 #605711 #116057
tetradic
#571160 #603011 #1A6011 #114160
square
#571160 #603011 #1A6011 #114160
split-complementary
#571160 #416011 #116030
monochromatic
#18051A #28082C #571160 #861A94 #B523C8

Accessibility & contrast

On white

12.69
#571160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#571160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571160
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571160#FFFFFF#000000##FFFFFF
##5711601.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E62
Deuteranopia (green-blind)
#1E355E
Tritanopia (blue-blind)
#582138
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #571160;
/* rgb */ color: rgb(87, 17, 96);
/* oklch */ color: oklch(33.8% 0.140 322.8);
Tailwind
colors: {
  custom: {
    50: '#89598d',
    500: '#571160',
    950: '#000000',
  },
}
SCSS
$custom: #571160;
$custom-light: #89598d;
$custom-dark: #000000;
JSON
{
  "hex": "#571160",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 293.165,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3383,
    "c": 0.13975,
    "h": 322.8
  },
  "luminance": 0.03272
}

Semantic roles & 50–950 ramp

primary
#571160
secondary
#409934
accent
#ED3B4F
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #571160

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

Preview Lab → · Contrast checker → · Palette generator →

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