#571A78#571A78

#571A78 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.153 H 310.4°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#571A78
RGBrgb(87, 26, 120)
HSLhsl(279, 64%, 29%)
HSVhsv(279, 78%, 47%)
CMYKcmyk(27.5%, 78.3%, 0%, 52.9%)
CIE-LABlab(24.07, 43.54, -41.00)
CIE-LCHlch(24.07, 59.81, 316.72°)
OKLaboklab(36.49% 0.099 -0.1162)
OKLCHoklch(36.49% 0.153 310.4)
XYZxyz(7.6894, 4.1213, 18.1561)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A78 #3B781A
analogous
#281A78 #571A78 #781A6A
triadic
#571A78 #78571A #1A7857
tetradic
#571A78 #78281A #3B781A #1A6A78
square
#571A78 #78281A #3B781A #1A6A78
split-complementary
#571A78 #6A781A #1A7828
monochromatic
#120519 #330F46 #571A78 #7B25AA #9D38D4

Accessibility & contrast

On white

11.51
#571A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#571A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A78
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A78#FFFFFF#000000##FFFFFF
##571A781.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#043A76
Tritanopia (blue-blind)
#523048
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #571a78;
/* rgb */ color: rgb(87, 26, 120);
/* oklch */ color: oklch(36.5% 0.153 310.4);
Tailwind
colors: {
  custom: {
    50: '#8a5ea0',
    500: '#571a78',
    950: '#000000',
  },
}
SCSS
$custom: #571a78;
$custom-light: #8a5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#571a78",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 278.936,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36494,
    "c": 0.15267,
    "h": 310.4
  },
  "luminance": 0.04121
}

Semantic roles & 50–950 ramp

primary
#571A78
secondary
#67AC41
accent
#E7407B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #571A78

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

Preview Lab → · Contrast checker → · Palette generator →

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