#571A81#571A81

#571A81 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.162 H 306.9°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#571A81
RGBrgb(87, 26, 129)
HSLhsl(276, 66%, 30%)
HSVhsv(276, 80%, 51%)
CMYKcmyk(32.6%, 79.8%, 0%, 49.4%)
CIE-LABlab(24.80, 45.64, -45.52)
CIE-LCHlch(24.80, 64.46, 315.07°)
OKLaboklab(37.23% 0.0971 -0.1295)
OKLCHoklch(37.23% 0.162 306.9)
XYZxyz(8.2615, 4.3501, 21.1691)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A81 #44811A
analogous
#231A81 #571A81 #811A77
triadic
#571A81 #81571A #1A8157
tetradic
#571A81 #81231A #44811A #1A7781
square
#571A81 #81231A #44811A #1A7781
split-complementary
#571A81 #77811A #1A8123
monochromatic
#12051B #35104E #571A81 #7924B4 #993DD8

Accessibility & contrast

On white

11.23
#571A81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#571A81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A81
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A81#FFFFFF#000000##FFFFFF
##571A811.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003984
Deuteranopia (green-blind)
#003B7F
Tritanopia (blue-blind)
#50344D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571a81;
/* rgb */ color: rgb(87, 26, 129);
/* oklch */ color: oklch(37.2% 0.162 306.9);
Tailwind
colors: {
  custom: {
    50: '#8b5ea6',
    500: '#571a81',
    950: '#000000',
  },
}
SCSS
$custom: #571a81;
$custom-light: #8b5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#571a81",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 129
  },
  "hsl": {
    "h": 275.534,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37234,
    "c": 0.16181,
    "h": 306.9
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#571A81
secondary
#71B542
accent
#E93E84
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571A81

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

Preview Lab → · Contrast checker → · Palette generator →

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