#571D78#571D78

#571D78 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.149 H 310.1°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#571D78
RGBrgb(87, 29, 120)
HSLhsl(278, 61%, 29%)
HSVhsv(278, 76%, 47%)
CMYKcmyk(27.5%, 75.8%, 0%, 52.9%)
CIE-LABlab(24.52, 42.26, -40.27)
CIE-LCHlch(24.52, 58.38, 316.38°)
OKLaboklab(36.81% 0.096 -0.1141)
OKLCHoklch(36.81% 0.149 310.1)
XYZxyz(7.7593, 4.2612, 18.1794)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D78 #3E781D
analogous
#2A1D78 #571D78 #781D6C
triadic
#571D78 #78571D #1D7857
tetradic
#571D78 #782A1D #3E781D #1D6C78
square
#571D78 #782A1D #3E781D #1D6C78
split-complementary
#571D78 #6C781D #1D782A
monochromatic
#120619 #331147 #571D78 #7B29A9 #9C3FD1

Accessibility & contrast

On white

11.34
#571D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#571D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D78
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D78#FFFFFF#000000##FFFFFF
##571D781.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#093B76
Tritanopia (blue-blind)
#523249
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571d78;
/* rgb */ color: rgb(87, 29, 120);
/* oklch */ color: oklch(36.8% 0.149 310.1);
Tailwind
colors: {
  custom: {
    50: '#8a5fa0',
    500: '#571d78',
    950: '#000000',
  },
}
SCSS
$custom: #571d78;
$custom-light: #8a5fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#571d78",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 278.242,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36811,
    "c": 0.14908,
    "h": 310.1
  },
  "luminance": 0.04261
}

Semantic roles & 50–950 ramp

primary
#571D78
secondary
#6AAC45
accent
#E4447E
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #571D78

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

Preview Lab → · Contrast checker → · Palette generator →

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