#571E84#571E84

#571E84 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.161 H 305.2°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#571E84
RGBrgb(87, 30, 132)
HSLhsl(274, 63%, 32%)
HSVhsv(274, 77%, 52%)
CMYKcmyk(34.1%, 77.3%, 0%, 48.2%)
CIE-LABlab(25.63, 44.69, -46.06)
CIE-LCHlch(25.63, 64.18, 314.13°)
OKLaboklab(37.9% 0.0926 -0.1311)
OKLCHoklch(37.9% 0.161 305.2)
XYZxyz(8.5587, 4.6208, 22.2663)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E84 #4B841E
analogous
#241E84 #571E84 #841E7E
triadic
#571E84 #84571E #1E8457
tetradic
#571E84 #84241E #4B841E #1E7E84
square
#571E84 #84241E #4B841E #1E7E84
split-complementary
#571E84 #7E841E #1E8424
monochromatic
#150720 #361352 #571E84 #7829B6 #9747D5

Accessibility & contrast

On white

10.91
#571E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#571E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571E84
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E84#FFFFFF#000000##FFFFFF
##571E841.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#4F3750
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571e84;
/* rgb */ color: rgb(87, 30, 132);
/* oklch */ color: oklch(37.9% 0.161 305.2);
Tailwind
colors: {
  custom: {
    50: '#8b60a9',
    500: '#571e84',
    950: '#000000',
  },
}
SCSS
$custom: #571e84;
$custom-light: #8b60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#571e84",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 273.529,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37895,
    "c": 0.1605,
    "h": 305.2
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

primary
#571E84
secondary
#78B747
accent
#E6428A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571E84

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

Preview Lab → · Contrast checker → · Palette generator →

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