#571779#571779

#571779 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.157 H 310.4°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#571779
RGBrgb(87, 23, 121)
HSLhsl(279, 68%, 28%)
HSVhsv(279, 81%, 47%)
CMYKcmyk(28.1%, 81%, 0%, 52.5%)
CIE-LABlab(23.74, 44.95, -42.17)
CIE-LCHlch(23.74, 61.64, 316.83°)
OKLaboklab(36.29% 0.1016 -0.1196)
OKLCHoklch(36.29% 0.157 310.4)
XYZxyz(7.6874, 4.0197, 18.4564)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571779 #397917
analogous
#261779 #571779 #79176A
triadic
#571779 #795717 #177957
tetradic
#571779 #792617 #397917 #176A79
square
#571779 #792617 #397917 #176A79
split-complementary
#571779 #6A7917 #177926
monochromatic
#12051A #320D46 #571779 #7C21AC #9F32D8

Accessibility & contrast

On white

11.64
#571779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#571779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571779
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571779#FFFFFF#000000##FFFFFF
##5717791.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#522F48
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571779;
/* rgb */ color: rgb(87, 23, 121);
/* oklch */ color: oklch(36.3% 0.157 310.4);
Tailwind
colors: {
  custom: {
    50: '#8b5ca0',
    500: '#571779',
    950: '#000000',
  },
}
SCSS
$custom: #571779;
$custom-light: #8b5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#571779",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 279.184,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36285,
    "c": 0.15697,
    "h": 310.4
  },
  "luminance": 0.0402
}

Semantic roles & 50–950 ramp

primary
#571779
secondary
#65AE3E
accent
#EB3D79
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #571779

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

Preview Lab → · Contrast checker → · Palette generator →

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