#571E8A#571E8A

#571E8A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.167 H 303.1°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#571E8A
RGBrgb(87, 30, 138)
HSLhsl(272, 64%, 33%)
HSVhsv(272, 78%, 54%)
CMYKcmyk(37%, 78.3%, 0%, 45.9%)
CIE-LABlab(26.13, 46.15, -49.00)
CIE-LCHlch(26.13, 67.31, 313.29°)
OKLaboklab(38.4% 0.0912 -0.1397)
OKLCHoklch(38.4% 0.167 303.1)
XYZxyz(8.9811, 4.7898, 24.4912)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E8A #518A1E
analogous
#211E8A #571E8A #8A1E87
triadic
#571E8A #8A571E #1E8A57
tetradic
#571E8A #8A211E #518A1E #1E878A
square
#571E8A #8A211E #518A1E #1E878A
split-complementary
#571E8A #878A1E #1E8A21
monochromatic
#180825 #371358 #571E8A #7729BC #954BD8

Accessibility & contrast

On white

10.73
#571E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#571E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571E8A
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E8A#FFFFFF#000000##FFFFFF
##571E8A1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#4C3A53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #571e8a;
/* rgb */ color: rgb(87, 30, 138);
/* oklch */ color: oklch(38.4% 0.167 303.1);
Tailwind
colors: {
  custom: {
    50: '#8c61ad',
    500: '#571e8a',
    950: '#000000',
  },
}
SCSS
$custom: #571e8a;
$custom-light: #8c61ad;
$custom-dark: #000000;
JSON
{
  "hex": "#571e8a",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 271.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38404,
    "c": 0.16683,
    "h": 303.1
  },
  "luminance": 0.0479
}

Semantic roles & 50–950 ramp

primary
#571E8A
secondary
#7FBA4A
accent
#E7418F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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