#571687#571687

#571687 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.172 H 305.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#571687
RGBrgb(87, 22, 135)
HSLhsl(275, 72%, 31%)
HSVhsv(275, 84%, 53%)
CMYKcmyk(35.6%, 83.7%, 0%, 47.1%)
CIE-LABlab(24.79, 48.54, -49.30)
CIE-LCHlch(24.79, 69.18, 314.56°)
OKLaboklab(37.39% 0.0987 -0.1405)
OKLCHoklch(37.39% 0.172 305.1)
XYZxyz(8.5896, 4.3494, 23.3040)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571687 #468716
analogous
#1E1687 #571687 #87167E
triadic
#571687 #875716 #168757
tetradic
#571687 #871E16 #468716 #167E87
square
#571687 #871E16 #468716 #167E87
split-complementary
#571687 #7E8716 #16871E
monochromatic
#13051E #350D52 #571687 #791FBC #9839DF

Accessibility & contrast

On white

11.23
#571687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571687
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571687#FFFFFF#000000##FFFFFF
##5716871.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#4E3550
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571687;
/* rgb */ color: rgb(87, 22, 135);
/* oklch */ color: oklch(37.4% 0.172 305.1);
Tailwind
colors: {
  custom: {
    50: '#8c5dab',
    500: '#571687',
    950: '#000000',
  },
}
SCSS
$custom: #571687;
$custom-light: #8c5dab;
$custom-dark: #000000;
JSON
{
  "hex": "#571687",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 274.513,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37392,
    "c": 0.17174,
    "h": 305.1
  },
  "luminance": 0.04349
}

Semantic roles & 50–950 ramp

primary
#571687
secondary
#73BB3E
accent
#EF3986
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #571687

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

Preview Lab → · Contrast checker → · Palette generator →

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