#571B78#571B78

#571B78 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.152 H 310.3°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#571B78
RGBrgb(87, 27, 120)
HSLhsl(279, 63%, 29%)
HSVhsv(279, 78%, 47%)
CMYKcmyk(27.5%, 77.5%, 0%, 52.9%)
CIE-LABlab(24.21, 43.12, -40.76)
CIE-LCHlch(24.21, 59.34, 316.61°)
OKLaboklab(36.6% 0.0981 -0.1155)
OKLCHoklch(36.6% 0.152 310.3)
XYZxyz(7.7119, 4.1663, 18.1636)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B78 #3C781B
analogous
#291B78 #571B78 #781B6B
triadic
#571B78 #78571B #1B7857
tetradic
#571B78 #78291B #3C781B #1B6B78
square
#571B78 #78291B #3C781B #1B6B78
split-complementary
#571B78 #6B781B #1B7829
monochromatic
#120619 #331046 #571B78 #7B26AA #9D3BD3

Accessibility & contrast

On white

11.46
#571B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#571B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B78
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B78#FFFFFF#000000##FFFFFF
##571B781.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#053A76
Tritanopia (blue-blind)
#523148
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571b78;
/* rgb */ color: rgb(87, 27, 120);
/* oklch */ color: oklch(36.6% 0.152 310.3);
Tailwind
colors: {
  custom: {
    50: '#8a5ea0',
    500: '#571b78',
    950: '#000000',
  },
}
SCSS
$custom: #571b78;
$custom-light: #8a5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#571b78",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 278.71,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36596,
    "c": 0.15151,
    "h": 310.3
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#571B78
secondary
#68AC43
accent
#E6417C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #571B78

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

Preview Lab → · Contrast checker → · Palette generator →

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