#571E8E#571E8E

#571E8E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.171 H 301.8°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#571E8E
RGBrgb(87, 30, 142)
HSLhsl(271, 65%, 34%)
HSVhsv(271, 79%, 56%)
CMYKcmyk(38.7%, 78.9%, 0%, 44.3%)
CIE-LABlab(26.47, 47.14, -50.93)
CIE-LCHlch(26.47, 69.40, 312.79°)
OKLaboklab(38.75% 0.0901 -0.1454)
OKLCHoklch(38.75% 0.171 301.8)
XYZxyz(9.2761, 4.9077, 26.0445)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E8E #558E1E
analogous
#1F1E8E #571E8E #8E1E8D
triadic
#571E8E #8E571E #1E8E57
tetradic
#571E8E #8E1F1E #558E1E #1E8D8E
square
#571E8E #8E1F1E #558E1E #1E8D8E
split-complementary
#571E8E #8D8E1E #1E8E1F
monochromatic
#190929 #38135B #571E8E #7629C1 #944DD9

Accessibility & contrast

On white

10.60
#571E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#571E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571E8E
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E8E#FFFFFF#000000##FFFFFF
##571E8E1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#4B3C55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #571e8e;
/* rgb */ color: rgb(87, 30, 142);
/* oklch */ color: oklch(38.8% 0.171 301.8);
Tailwind
colors: {
  custom: {
    50: '#8c61b0',
    500: '#571e8e',
    950: '#000000',
  },
}
SCSS
$custom: #571e8e;
$custom-light: #8c61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#571e8e",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 270.536,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3875,
    "c": 0.17106,
    "h": 301.8
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#571E8E
secondary
#83BC4C
accent
#E84092
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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