#571580#571580

#571580 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.166 H 307.8°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#571580
RGBrgb(87, 21, 128)
HSLhsl(277, 72%, 29%)
HSVhsv(277, 84%, 50%)
CMYKcmyk(32%, 83.6%, 0%, 49.8%)
CIE-LABlab(24.07, 47.27, -46.08)
CIE-LCHlch(24.07, 66.01, 315.73°)
OKLaboklab(36.7% 0.1015 -0.1311)
OKLCHoklch(36.7% 0.166 307.8)
XYZxyz(8.0941, 4.1212, 20.7870)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571580 #3E8015
analogous
#211580 #571580 #801574
triadic
#571580 #805715 #158057
tetradic
#571580 #802115 #3E8015 #157480
square
#571580 #802115 #3E8015 #157480
split-complementary
#571580 #748015 #158021
monochromatic
#12041A #330C4B #571580 #7B1EB5 #9C32DD

Accessibility & contrast

On white

11.51
#571580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#571580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571580
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571580#FFFFFF#000000##FFFFFF
##5715801.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#50324B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #571580;
/* rgb */ color: rgb(87, 21, 128);
/* oklch */ color: oklch(36.7% 0.166 307.8);
Tailwind
colors: {
  custom: {
    50: '#8b5ca6',
    500: '#571580',
    950: '#000000',
  },
}
SCSS
$custom: #571580;
$custom-light: #8b5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#571580",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 277.009,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36699,
    "c": 0.16579,
    "h": 307.8
  },
  "luminance": 0.04121
}

Semantic roles & 50–950 ramp

primary
#571580
secondary
#6AB53C
accent
#EF397F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #571580

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

Preview Lab → · Contrast checker → · Palette generator →

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