#571E81#571E81

#571E81 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.157 H 306.4°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#571E81
RGBrgb(87, 30, 129)
HSLhsl(275, 62%, 31%)
HSVhsv(275, 77%, 51%)
CMYKcmyk(32.6%, 76.7%, 0%, 49.4%)
CIE-LABlab(25.38, 43.96, -44.57)
CIE-LCHlch(25.38, 62.60, 314.60°)
OKLaboklab(37.65% 0.0933 -0.1267)
OKLCHoklch(37.65% 0.157 306.4)
XYZxyz(8.3563, 4.5398, 21.2007)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E81 #48811E
analogous
#251E81 #571E81 #811E79
triadic
#571E81 #81571E #1E8157
tetradic
#571E81 #81251E #48811E #1E7981
square
#571E81 #81251E #48811E #1E7981
split-complementary
#571E81 #79811E #1E8125
monochromatic
#14071E #36124F #571E81 #782AB3 #9746D4

Accessibility & contrast

On white

11.01
#571E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#571E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571E81
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E81#FFFFFF#000000##FFFFFF
##571E811.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#50364E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571e81;
/* rgb */ color: rgb(87, 30, 129);
/* oklch */ color: oklch(37.6% 0.157 306.4);
Tailwind
colors: {
  custom: {
    50: '#8b60a6',
    500: '#571e81',
    950: '#000000',
  },
}
SCSS
$custom: #571e81;
$custom-light: #8b60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#571e81",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 274.545,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37646,
    "c": 0.15734,
    "h": 306.4
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#571E81
secondary
#75B447
accent
#E54288
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571E81

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

Preview Lab → · Contrast checker → · Palette generator →

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