#571159#571159

#571159 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.134 H 326.8°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#571159
RGBrgb(87, 17, 89)
HSLhsl(298, 68%, 21%)
HSVhsv(298, 81%, 35%)
CMYKcmyk(2.2%, 80.9%, 0%, 65.1%)
CIE-LABlab(20.63, 40.46, -26.30)
CIE-LCHlch(20.63, 48.26, 326.97°)
OKLaboklab(33.34% 0.1118 -0.0731)
OKLCHoklch(33.34% 0.134 326.8)
XYZxyz(5.9340, 3.1488, 9.7445)
Luminance0.0315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571159 #135911
analogous
#331159 #571159 #591137
triadic
#571159 #595711 #115957
tetradic
#571159 #593311 #135911 #113759
square
#571159 #593311 #135911 #113759
split-complementary
#571159 #375911 #115933
monochromatic
#19051A #250726 #571159 #891B8C #BB25C0

Accessibility & contrast

On white

12.89
#571159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#571159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571159
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571159#FFFFFF#000000##FFFFFF
##5711591.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5B
Deuteranopia (green-blind)
#233557
Tritanopia (blue-blind)
#5A1D34
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #571159;
/* rgb */ color: rgb(87, 17, 89);
/* oklch */ color: oklch(33.3% 0.134 326.8);
Tailwind
colors: {
  custom: {
    50: '#895888',
    500: '#571159',
    950: '#000000',
  },
}
SCSS
$custom: #571159;
$custom-light: #895888;
$custom-dark: #000000;
JSON
{
  "hex": "#571159",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 298.333,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33343,
    "c": 0.13359,
    "h": 326.8
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#571159
secondary
#369234
accent
#EB3D42
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571159

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

Preview Lab → · Contrast checker → · Palette generator →

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