#571884#571884

#571884 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.167 H 306.0°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#571884
RGBrgb(87, 24, 132)
HSLhsl(275, 69%, 31%)
HSVhsv(275, 82%, 52%)
CMYKcmyk(34.1%, 81.8%, 0%, 48.2%)
CIE-LABlab(24.78, 47.12, -47.44)
CIE-LCHlch(24.78, 66.86, 314.81°)
OKLaboklab(37.3% 0.098 -0.1351)
OKLCHoklch(37.3% 0.167 306)
XYZxyz(8.4210, 4.3455, 22.2205)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571884 #458418
analogous
#211884 #571884 #84187B
triadic
#571884 #845718 #188457
tetradic
#571884 #842118 #458418 #187B84
square
#571884 #842118 #458418 #187B84
split-complementary
#571884 #7B8418 #188421
monochromatic
#13051C #350F50 #571884 #7921B8 #993BDB

Accessibility & contrast

On white

11.24
#571884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#571884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571884
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571884#FFFFFF#000000##FFFFFF
##5718841.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571884;
/* rgb */ color: rgb(87, 24, 132);
/* oklch */ color: oklch(37.3% 0.167 306.0);
Tailwind
colors: {
  custom: {
    50: '#8b5da9',
    500: '#571884',
    950: '#000000',
  },
}
SCSS
$custom: #571884;
$custom-light: #8b5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#571884",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 275,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37303,
    "c": 0.16689,
    "h": 306
  },
  "luminance": 0.04345
}

Semantic roles & 50–950 ramp

primary
#571884
secondary
#72B840
accent
#EC3C85
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571884

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

Preview Lab → · Contrast checker → · Palette generator →

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