#571C84#571C84

#571C84 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.163 H 305.5°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#571C84
RGBrgb(87, 28, 132)
HSLhsl(274, 65%, 31%)
HSVhsv(274, 79%, 52%)
CMYKcmyk(34.1%, 78.8%, 0%, 48.2%)
CIE-LABlab(25.33, 45.54, -46.54)
CIE-LCHlch(25.33, 65.11, 314.37°)
OKLaboklab(37.69% 0.0945 -0.1325)
OKLCHoklch(37.69% 0.163 305.5)
XYZxyz(8.5097, 4.5228, 22.2500)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C84 #49841C
analogous
#231C84 #571C84 #841C7D
triadic
#571C84 #84571C #1C8457
tetradic
#571C84 #84231C #49841C #1C7D84
square
#571C84 #84231C #49841C #1C7D84
split-complementary
#571C84 #7D841C #1C8423
monochromatic
#14071F #361152 #571C84 #7827B6 #9743D7

Accessibility & contrast

On white

11.03
#571C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#571C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C84
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C84#FFFFFF#000000##FFFFFF
##571C841.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#4F364F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571c84;
/* rgb */ color: rgb(87, 28, 132);
/* oklch */ color: oklch(37.7% 0.163 305.5);
Tailwind
colors: {
  custom: {
    50: '#8b5fa9',
    500: '#571c84',
    950: '#000000',
  },
}
SCSS
$custom: #571c84;
$custom-light: #8b5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#571c84",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 274.038,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37686,
    "c": 0.16274,
    "h": 305.5
  },
  "luminance": 0.04523
}

Semantic roles & 50–950 ramp

primary
#571C84
secondary
#76B745
accent
#E84089
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571C84

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

Preview Lab → · Contrast checker → · Palette generator →

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