#571E87#571E87

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

Color values

HEX#571E87
RGBrgb(87, 30, 135)
HSLhsl(273, 64%, 32%)
HSVhsv(273, 78%, 53%)
CMYKcmyk(35.6%, 77.8%, 0%, 47.1%)
CIE-LABlab(25.87, 45.42, -47.54)
CIE-LCHlch(25.87, 65.75, 313.69°)
OKLaboklab(38.15% 0.0919 -0.1354)
OKLCHoklch(38.15% 0.164 304.2)
XYZxyz(8.7669, 4.7041, 23.3631)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E87 #4E871E
analogous
#221E87 #571E87 #871E83
triadic
#571E87 #87571E #1E8757
tetradic
#571E87 #87221E #4E871E #1E8387
square
#571E87 #87221E #4E871E #1E8387
split-complementary
#571E87 #83871E #1E8722
monochromatic
#160823 #371355 #571E87 #7729B9 #9649D7

Accessibility & contrast

On white

10.82
#571E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571E87
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E87#FFFFFF#000000##FFFFFF
##571E871.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#4E3951
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571e87;
/* rgb */ color: rgb(87, 30, 135);
/* oklch */ color: oklch(38.1% 0.164 304.2);
Tailwind
colors: {
  custom: {
    50: '#8b60ab',
    500: '#571e87',
    950: '#000000',
  },
}
SCSS
$custom: #571e87;
$custom-light: #8b60ab;
$custom-dark: #000000;
JSON
{
  "hex": "#571e87",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 272.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38147,
    "c": 0.16367,
    "h": 304.2
  },
  "luminance": 0.04704
}

Semantic roles & 50–950 ramp

primary
#571E87
secondary
#7CB948
accent
#E7418D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571E87

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

Preview Lab → · Contrast checker → · Palette generator →

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