#571987#571987

#571987 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.169 H 304.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#571987
RGBrgb(87, 25, 135)
HSLhsl(274, 69%, 31%)
HSVhsv(274, 81%, 53%)
CMYKcmyk(35.6%, 81.5%, 0%, 47.1%)
CIE-LABlab(25.17, 47.45, -48.68)
CIE-LCHlch(25.17, 67.98, 314.26°)
OKLaboklab(37.65% 0.0963 -0.1388)
OKLCHoklch(37.65% 0.169 304.8)
XYZxyz(8.6503, 4.4708, 23.3242)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571987 #498719
analogous
#201987 #571987 #871980
triadic
#571987 #875719 #198757
tetradic
#571987 #872019 #498719 #198087
square
#571987 #872019 #498719 #198087
split-complementary
#571987 #808719 #198720
monochromatic
#140620 #360F53 #571987 #7823BB #973FDB

Accessibility & contrast

On white

11.09
#571987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#571987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571987
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571987#FFFFFF#000000##FFFFFF
##5719871.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#4E3650
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571987;
/* rgb */ color: rgb(87, 25, 135);
/* oklch */ color: oklch(37.7% 0.169 304.8);
Tailwind
colors: {
  custom: {
    50: '#8c5eab',
    500: '#571987',
    950: '#000000',
  },
}
SCSS
$custom: #571987;
$custom-light: #8c5eab;
$custom-dark: #000000;
JSON
{
  "hex": "#571987",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 273.818,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37654,
    "c": 0.16891,
    "h": 304.8
  },
  "luminance": 0.04471
}

Semantic roles & 50–950 ramp

primary
#571987
secondary
#76BA41
accent
#EC3C89
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571987

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

Preview Lab → · Contrast checker → · Palette generator →

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