#571784#571784

#571784 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.168 H 306.1°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#571784
RGBrgb(87, 23, 132)
HSLhsl(275, 70%, 30%)
HSVhsv(275, 83%, 52%)
CMYKcmyk(34.1%, 82.6%, 0%, 48.2%)
CIE-LABlab(24.66, 47.48, -47.64)
CIE-LCHlch(24.66, 67.27, 314.90°)
OKLaboklab(37.21% 0.0988 -0.1357)
OKLCHoklch(37.21% 0.168 306.1)
XYZxyz(8.4008, 4.3050, 22.2137)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571784 #448417
analogous
#201784 #571784 #84177B
triadic
#571784 #845717 #178457
tetradic
#571784 #842017 #448417 #177B84
square
#571784 #842017 #448417 #177B84
split-complementary
#571784 #7B8417 #178420
monochromatic
#12051C #350E50 #571784 #7920B8 #9939DC

Accessibility & contrast

On white

11.28
#571784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#571784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571784
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571784#FFFFFF#000000##FFFFFF
##5717841.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#4F344E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571784;
/* rgb */ color: rgb(87, 23, 132);
/* oklch */ color: oklch(37.2% 0.168 306.1);
Tailwind
colors: {
  custom: {
    50: '#8b5da9',
    500: '#571784',
    950: '#000000',
  },
}
SCSS
$custom: #571784;
$custom-light: #8b5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#571784",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 275.229,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37215,
    "c": 0.16785,
    "h": 306.1
  },
  "luminance": 0.04305
}

Semantic roles & 50–950 ramp

primary
#571784
secondary
#71B83F
accent
#ED3B84
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571784

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

Preview Lab → · Contrast checker → · Palette generator →

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