#571E78#571E78

#571E78 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.148 H 310.0°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#571E78
RGBrgb(87, 30, 120)
HSLhsl(278, 60%, 29%)
HSVhsv(278, 75%, 47%)
CMYKcmyk(27.5%, 75%, 0%, 52.9%)
CIE-LABlab(24.67, 41.82, -40.02)
CIE-LCHlch(24.67, 57.88, 316.26°)
OKLaboklab(36.92% 0.0949 -0.1133)
OKLCHoklch(36.92% 0.148 310)
XYZxyz(7.7843, 4.3110, 18.1877)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E78 #3F781E
analogous
#2A1E78 #571E78 #781E6C
triadic
#571E78 #78571E #1E7857
tetradic
#571E78 #782A1E #3F781E #1E6C78
square
#571E78 #782A1E #3F781E #1E6C78
split-complementary
#571E78 #6C781E #1E782A
monochromatic
#120618 #341247 #571E78 #7A2AA9 #9B41CF

Accessibility & contrast

On white

11.28
#571E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571E78
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E78#FFFFFF#000000##FFFFFF
##571E781.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#0B3B76
Tritanopia (blue-blind)
#523249
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571e78;
/* rgb */ color: rgb(87, 30, 120);
/* oklch */ color: oklch(36.9% 0.148 310.0);
Tailwind
colors: {
  custom: {
    50: '#8a60a0',
    500: '#571e78',
    950: '#000000',
  },
}
SCSS
$custom: #571e78;
$custom-light: #8a60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#571e78",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 120
  },
  "hsl": {
    "h": 278,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36922,
    "c": 0.14784,
    "h": 310
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

primary
#571E78
secondary
#6BAC46
accent
#E3457F
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #571E78

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

Preview Lab → · Contrast checker → · Palette generator →

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