#571579#571579

#571579 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.159 H 310.6°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#571579
RGBrgb(87, 21, 121)
HSLhsl(280, 70%, 28%)
HSVhsv(280, 83%, 47%)
CMYKcmyk(28.1%, 82.6%, 0%, 52.5%)
CIE-LABlab(23.48, 45.69, -42.59)
CIE-LCHlch(23.48, 62.46, 317.01°)
OKLaboklab(36.11% 0.1034 -0.1208)
OKLCHoklch(36.11% 0.159 310.6)
XYZxyz(7.6492, 3.9432, 18.4436)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571579 #377915
analogous
#251579 #571579 #791569
triadic
#571579 #795715 #157957
tetradic
#571579 #792515 #377915 #156979
square
#571579 #792515 #377915 #156979
split-complementary
#571579 #697915 #157925
monochromatic
#13051A #320C45 #571579 #7C1EAD #A02EDB

Accessibility & contrast

On white

11.74
#571579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#571579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571579
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571579#FFFFFF#000000##FFFFFF
##5715791.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571579;
/* rgb */ color: rgb(87, 21, 121);
/* oklch */ color: oklch(36.1% 0.159 310.6);
Tailwind
colors: {
  custom: {
    50: '#8b5ca0',
    500: '#571579',
    950: '#000000',
  },
}
SCSS
$custom: #571579;
$custom-light: #8b5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#571579",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 279.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36107,
    "c": 0.159,
    "h": 310.6
  },
  "luminance": 0.03943
}

Semantic roles & 50–950 ramp

primary
#571579
secondary
#62AF3B
accent
#ED3B77
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #571579

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

Preview Lab → · Contrast checker → · Palette generator →

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