#571D84#571D84

#571D84 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.162 H 305.4°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#571D84
RGBrgb(87, 29, 132)
HSLhsl(274, 64%, 32%)
HSVhsv(274, 78%, 52%)
CMYKcmyk(34.1%, 78%, 0%, 48.2%)
CIE-LABlab(25.48, 45.12, -46.31)
CIE-LCHlch(25.48, 64.65, 314.25°)
OKLaboklab(37.79% 0.0936 -0.1318)
OKLCHoklch(37.79% 0.162 305.4)
XYZxyz(8.5338, 4.5710, 22.2580)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D84 #4A841D
analogous
#231D84 #571D84 #841D7E
triadic
#571D84 #84571D #1D8457
tetradic
#571D84 #84231D #4A841D #1D7E84
square
#571D84 #84231D #4A841D #1D7E84
split-complementary
#571D84 #7E841D #1D8423
monochromatic
#150720 #361252 #571D84 #7828B6 #9745D6

Accessibility & contrast

On white

10.97
#571D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#571D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D84
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D84#FFFFFF#000000##FFFFFF
##571D841.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#4F374F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571d84;
/* rgb */ color: rgb(87, 29, 132);
/* oklch */ color: oklch(37.8% 0.162 305.4);
Tailwind
colors: {
  custom: {
    50: '#8b60a9',
    500: '#571d84',
    950: '#000000',
  },
}
SCSS
$custom: #571d84;
$custom-light: #8b60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#571d84",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 273.786,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37789,
    "c": 0.16163,
    "h": 305.4
  },
  "luminance": 0.04571
}

Semantic roles & 50–950 ramp

primary
#571D84
secondary
#77B746
accent
#E74189
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571D84

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

Preview Lab → · Contrast checker → · Palette generator →

#571D84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva