#571686#571686

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

Color values

HEX#571686
RGBrgb(87, 22, 134)
HSLhsl(275, 72%, 31%)
HSVhsv(275, 84%, 53%)
CMYKcmyk(35.1%, 83.6%, 0%, 47.5%)
CIE-LABlab(24.71, 48.31, -48.82)
CIE-LCHlch(24.71, 68.68, 314.70°)
OKLaboklab(37.3% 0.099 -0.1391)
OKLCHoklch(37.3% 0.171 305.4)
XYZxyz(8.5195, 4.3213, 22.9349)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571686 #458616
analogous
#1F1686 #571686 #86167D
triadic
#571686 #865716 #168657
tetradic
#571686 #861F16 #458616 #167D86
square
#571686 #861F16 #458616 #167D86
split-complementary
#571686 #7D8616 #16861F
monochromatic
#13051D #350D51 #571686 #791FBB #9938DE

Accessibility & contrast

On white

11.26
#571686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571686
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571686#FFFFFF#000000##FFFFFF
##5716861.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#4E354F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571686;
/* rgb */ color: rgb(87, 22, 134);
/* oklch */ color: oklch(37.3% 0.171 305.4);
Tailwind
colors: {
  custom: {
    50: '#8c5daa',
    500: '#571686',
    950: '#000000',
  },
}
SCSS
$custom: #571686;
$custom-light: #8c5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#571686",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 274.821,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37304,
    "c": 0.17075,
    "h": 305.4
  },
  "luminance": 0.04321
}

Semantic roles & 50–950 ramp

primary
#571686
secondary
#72BA3E
accent
#EF3985
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571686

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

Preview Lab → · Contrast checker → · Palette generator →

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