#571B80#571B80

#571B80 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.160 H 307.1°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#571B80
RGBrgb(87, 27, 128)
HSLhsl(276, 65%, 30%)
HSVhsv(276, 79%, 50%)
CMYKcmyk(32%, 78.9%, 0%, 49.8%)
CIE-LABlab(24.85, 45.00, -44.80)
CIE-LCHlch(24.85, 63.49, 315.13°)
OKLaboklab(37.25% 0.0964 -0.1274)
OKLCHoklch(37.25% 0.16 307.1)
XYZxyz(8.2179, 4.3687, 20.8282)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B80 #44801B
analogous
#251B80 #571B80 #801B76
triadic
#571B80 #80571B #1B8057
tetradic
#571B80 #80251B #44801B #1B7680
square
#571B80 #80251B #44801B #1B7680
split-complementary
#571B80 #76801B #1B8025
monochromatic
#12061B #35104D #571B80 #7926B3 #993FD6

Accessibility & contrast

On white

11.21
#571B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571B80
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B80#FFFFFF#000000##FFFFFF
##571B801.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571b80;
/* rgb */ color: rgb(87, 27, 128);
/* oklch */ color: oklch(37.2% 0.160 307.1);
Tailwind
colors: {
  custom: {
    50: '#8b5fa6',
    500: '#571b80',
    950: '#000000',
  },
}
SCSS
$custom: #571b80;
$custom-light: #8b5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#571b80",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 275.644,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37249,
    "c": 0.15971,
    "h": 307.1
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

primary
#571B80
secondary
#71B443
accent
#E84084
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571B80

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

Preview Lab → · Contrast checker → · Palette generator →

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