#571980#571980

#571980 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.162 H 307.3°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#571980
RGBrgb(87, 25, 128)
HSLhsl(276, 67%, 30%)
HSVhsv(276, 80%, 50%)
CMYKcmyk(32%, 80.5%, 0%, 49.8%)
CIE-LABlab(24.58, 45.80, -45.25)
CIE-LCHlch(24.58, 64.38, 315.34°)
OKLaboklab(37.05% 0.0982 -0.1287)
OKLCHoklch(37.05% 0.162 307.3)
XYZxyz(8.1736, 4.2801, 20.8134)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571980 #428019
analogous
#241980 #571980 #801975
triadic
#571980 #805719 #198057
tetradic
#571980 #802419 #428019 #197580
square
#571980 #802419 #428019 #197580
split-complementary
#571980 #758019 #198024
monochromatic
#11051A #340F4D #571980 #7A23B3 #9A3BD9

Accessibility & contrast

On white

11.31
#571980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#571980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571980
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571980#FFFFFF#000000##FFFFFF
##5719801.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#50334C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571980;
/* rgb */ color: rgb(87, 25, 128);
/* oklch */ color: oklch(37.1% 0.162 307.3);
Tailwind
colors: {
  custom: {
    50: '#8b5ea6',
    500: '#571980',
    950: '#000000',
  },
}
SCSS
$custom: #571980;
$custom-light: #8b5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#571980",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 276.117,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.37054,
    "c": 0.16186,
    "h": 307.3
  },
  "luminance": 0.0428
}

Semantic roles & 50–950 ramp

primary
#571980
secondary
#6FB441
accent
#EA3E82
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571980

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

Preview Lab → · Contrast checker → · Palette generator →

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