#571E8D#571E8D

#571E8D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.170 H 302.1°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#571E8D
RGBrgb(87, 30, 141)
HSLhsl(271, 65%, 34%)
HSVhsv(271, 79%, 55%)
CMYKcmyk(38.3%, 78.7%, 0%, 44.7%)
CIE-LABlab(26.38, 46.89, -50.45)
CIE-LCHlch(26.38, 68.88, 312.91°)
OKLaboklab(38.66% 0.0904 -0.144)
OKLCHoklch(38.66% 0.17 302.1)
XYZxyz(9.2013, 4.8778, 25.6509)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E8D #548D1E
analogous
#201E8D #571E8D #8D1E8B
triadic
#571E8D #8D571E #1E8D57
tetradic
#571E8D #8D201E #548D1E #1E8B8D
square
#571E8D #8D201E #548D1E #1E8B8D
split-complementary
#571E8D #8B8D1E #1E8D20
monochromatic
#190928 #38135B #571E8D #7629BF #954CD9

Accessibility & contrast

On white

10.63
#571E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571E8D
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E8D#FFFFFF#000000##FFFFFF
##571E8D1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#4B3B55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #571e8d;
/* rgb */ color: rgb(87, 30, 141);
/* oklch */ color: oklch(38.7% 0.170 302.1);
Tailwind
colors: {
  custom: {
    50: '#8c61af',
    500: '#571e8d',
    950: '#000000',
  },
}
SCSS
$custom: #571e8d;
$custom-light: #8c61af;
$custom-dark: #000000;
JSON
{
  "hex": "#571e8d",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 270.811,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38663,
    "c": 0.17,
    "h": 302.1
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#571E8D
secondary
#82BC4B
accent
#E84092
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #571E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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