#571E86#571E86

#571E86 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.163 H 304.5°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#571E86
RGBrgb(87, 30, 134)
HSLhsl(273, 63%, 32%)
HSVhsv(273, 78%, 53%)
CMYKcmyk(35.1%, 77.6%, 0%, 47.5%)
CIE-LABlab(25.79, 45.17, -47.05)
CIE-LCHlch(25.79, 65.22, 313.84°)
OKLaboklab(38.06% 0.0921 -0.134)
OKLCHoklch(38.06% 0.163 304.5)
XYZxyz(8.6968, 4.6761, 22.9940)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E86 #4D861E
analogous
#231E86 #571E86 #861E81
triadic
#571E86 #86571E #1E8657
tetradic
#571E86 #86231E #4D861E #1E8186
square
#571E86 #86231E #4D861E #1E8186
split-complementary
#571E86 #81861E #1E8623
monochromatic
#160822 #371354 #571E86 #7729B8 #9648D6

Accessibility & contrast

On white

10.85
#571E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#571E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571E86
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E86#FFFFFF#000000##FFFFFF
##571E861.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#4E3851
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571e86;
/* rgb */ color: rgb(87, 30, 134);
/* oklch */ color: oklch(38.1% 0.163 304.5);
Tailwind
colors: {
  custom: {
    50: '#8b60aa',
    500: '#571e86',
    950: '#000000',
  },
}
SCSS
$custom: #571e86;
$custom-light: #8b60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#571e86",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 272.885,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38063,
    "c": 0.16261,
    "h": 304.5
  },
  "luminance": 0.04676
}

Semantic roles & 50–950 ramp

primary
#571E86
secondary
#7AB847
accent
#E6418C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571E86

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

Preview Lab → · Contrast checker → · Palette generator →

#571E86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva