#571780#571780

#571780 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.164 H 307.6°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#571780
RGBrgb(87, 23, 128)
HSLhsl(277, 70%, 30%)
HSVhsv(277, 82%, 50%)
CMYKcmyk(32%, 82%, 0%, 49.8%)
CIE-LABlab(24.31, 46.55, -45.68)
CIE-LCHlch(24.31, 65.22, 315.54°)
OKLaboklab(36.87% 0.0999 -0.1299)
OKLCHoklch(36.87% 0.164 307.6)
XYZxyz(8.1323, 4.1977, 20.7997)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571780 #408017
analogous
#221780 #571780 #801775
triadic
#571780 #805717 #178057
tetradic
#571780 #802217 #408017 #177580
square
#571780 #802217 #408017 #177580
split-complementary
#571780 #758017 #178022
monochromatic
#12051A #340E4C #571780 #7A20B4 #9B36DB

Accessibility & contrast

On white

11.42
#571780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#571780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571780
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571780#FFFFFF#000000##FFFFFF
##5717801.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571780;
/* rgb */ color: rgb(87, 23, 128);
/* oklch */ color: oklch(36.9% 0.164 307.6);
Tailwind
colors: {
  custom: {
    50: '#8b5da6',
    500: '#571780',
    950: '#000000',
  },
}
SCSS
$custom: #571780;
$custom-light: #8b5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#571780",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 276.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36871,
    "c": 0.16389,
    "h": 307.6
  },
  "luminance": 0.04198
}

Semantic roles & 50–950 ramp

primary
#571780
secondary
#6CB43E
accent
#EC3B81
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571780

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

Preview Lab → · Contrast checker → · Palette generator →

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