#571A80#571A80

#571A80 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.161 H 307.2°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#571A80
RGBrgb(87, 26, 128)
HSLhsl(276, 66%, 30%)
HSVhsv(276, 80%, 50%)
CMYKcmyk(32%, 79.7%, 0%, 49.8%)
CIE-LABlab(24.71, 45.40, -45.03)
CIE-LCHlch(24.71, 63.94, 315.24°)
OKLaboklab(37.15% 0.0973 -0.128)
OKLCHoklch(37.15% 0.161 307.2)
XYZxyz(8.1953, 4.3236, 20.8207)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A80 #43801A
analogous
#241A80 #571A80 #801A76
triadic
#571A80 #80571A #1A8057
tetradic
#571A80 #80241A #43801A #1A7680
square
#571A80 #80241A #43801A #1A7680
split-complementary
#571A80 #76801A #1A8024
monochromatic
#12051A #34104D #571A80 #7A24B3 #993DD8

Accessibility & contrast

On white

11.26
#571A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#571A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A80
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A80#FFFFFF#000000##FFFFFF
##571A801.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#50344C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571a80;
/* rgb */ color: rgb(87, 26, 128);
/* oklch */ color: oklch(37.1% 0.161 307.2);
Tailwind
colors: {
  custom: {
    50: '#8b5ea6',
    500: '#571a80',
    950: '#000000',
  },
}
SCSS
$custom: #571a80;
$custom-light: #8b5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#571a80",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 275.882,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3715,
    "c": 0.16079,
    "h": 307.2
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#571A80
secondary
#70B442
accent
#E93F83
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571A80

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

Preview Lab → · Contrast checker → · Palette generator →

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