#571984#571984

#571984 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.166 H 305.8°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#571984
RGBrgb(87, 25, 132)
HSLhsl(275, 68%, 31%)
HSVhsv(275, 81%, 52%)
CMYKcmyk(34.1%, 81.1%, 0%, 48.2%)
CIE-LABlab(24.91, 46.74, -47.22)
CIE-LCHlch(24.91, 66.44, 314.70°)
OKLaboklab(37.4% 0.0972 -0.1345)
OKLCHoklch(37.4% 0.166 305.8)
XYZxyz(8.4420, 4.3875, 22.2275)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571984 #468419
analogous
#211984 #571984 #84197B
triadic
#571984 #845719 #198457
tetradic
#571984 #842119 #468419 #197B84
square
#571984 #842119 #468419 #197B84
split-complementary
#571984 #7B8419 #198421
monochromatic
#13061D #350F51 #571984 #7923B7 #983DDA

Accessibility & contrast

On white

11.19
#571984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#571984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571984
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571984#FFFFFF#000000##FFFFFF
##5719841.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571984;
/* rgb */ color: rgb(87, 25, 132);
/* oklch */ color: oklch(37.4% 0.166 305.8);
Tailwind
colors: {
  custom: {
    50: '#8b5ea9',
    500: '#571984',
    950: '#000000',
  },
}
SCSS
$custom: #571984;
$custom-light: #8b5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#571984",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 274.766,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37395,
    "c": 0.16589,
    "h": 305.8
  },
  "luminance": 0.04387
}

Semantic roles & 50–950 ramp

primary
#571984
secondary
#73B841
accent
#EB3D86
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571984

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

Preview Lab → · Contrast checker → · Palette generator →

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