#571996#571996

#571996 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.0% C 0.184 H 299.9°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#571996
RGBrgb(87, 25, 150)
HSLhsl(270, 71%, 34%)
HSVhsv(270, 83%, 59%)
CMYKcmyk(42%, 83.3%, 0%, 41.2%)
CIE-LABlab(26.52, 51.06, -55.79)
CIE-LCHlch(26.52, 75.63, 312.46°)
OKLaboklab(39% 0.0917 -0.1596)
OKLCHoklch(39% 0.184 299.9)
XYZxyz(9.7817, 4.9234, 29.2832)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571996 #589619
analogous
#191996 #571996 #961996
triadic
#571996 #965719 #199657
tetradic
#571996 #961919 #589619 #199696
square
#571996 #961919 #589619 #199696
split-complementary
#571996 #969619 #199619
monochromatic
#1A082D #391062 #571996 #7522CA #9449E1

Accessibility & contrast

On white

10.58
#571996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#571996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571996
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571996#FFFFFF#000000##FFFFFF
##5719961.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#483D59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #571996;
/* rgb */ color: rgb(87, 25, 150);
/* oklch */ color: oklch(39.0% 0.184 299.9);
Tailwind
colors: {
  custom: {
    50: '#8d5fb6',
    500: '#571996',
    950: '#000000',
  },
}
SCSS
$custom: #571996;
$custom-light: #8d5fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#571996",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 269.76,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39003,
    "c": 0.18408,
    "h": 299.9
  },
  "luminance": 0.04924
}

Semantic roles & 50–950 ramp

primary
#571996
secondary
#86C249
accent
#EE3A95
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571996

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

Preview Lab → · Contrast checker → · Palette generator →

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