#571C78#571C78

#571C78 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.150 H 310.2°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#571C78
RGBrgb(87, 28, 120)
HSLhsl(278, 62%, 29%)
HSVhsv(278, 77%, 47%)
CMYKcmyk(27.5%, 76.7%, 0%, 52.9%)
CIE-LABlab(24.36, 42.70, -40.52)
CIE-LCHlch(24.36, 58.86, 316.50°)
OKLaboklab(36.7% 0.097 -0.1148)
OKLCHoklch(36.7% 0.15 310.2)
XYZxyz(7.7352, 4.2130, 18.1714)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C78 #3D781C
analogous
#291C78 #571C78 #781C6B
triadic
#571C78 #78571C #1C7857
tetradic
#571C78 #78291C #3D781C #1C6B78
square
#571C78 #78291C #3D781C #1C6B78
split-complementary
#571C78 #6B781C #1C7829
monochromatic
#120619 #331046 #571C78 #7B28AA #9C3DD2

Accessibility & contrast

On white

11.40
#571C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#571C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C78
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C78#FFFFFF#000000##FFFFFF
##571C781.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571c78;
/* rgb */ color: rgb(87, 28, 120);
/* oklch */ color: oklch(36.7% 0.150 310.2);
Tailwind
colors: {
  custom: {
    50: '#8a5fa0',
    500: '#571c78',
    950: '#000000',
  },
}
SCSS
$custom: #571c78;
$custom-light: #8a5fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#571c78",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 278.478,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36702,
    "c": 0.1503,
    "h": 310.2
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#571C78
secondary
#69AC44
accent
#E5437D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #571C78

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

Preview Lab → · Contrast checker → · Palette generator →

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