#571C7C#571C7C

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

Color values

HEX#571C7C
RGBrgb(87, 28, 124)
HSLhsl(277, 63%, 30%)
HSVhsv(277, 77%, 49%)
CMYKcmyk(29.8%, 77.4%, 0%, 51.4%)
CIE-LABlab(24.68, 43.63, -42.56)
CIE-LCHlch(24.68, 60.95, 315.72°)
OKLaboklab(37.02% 0.0963 -0.1208)
OKLCHoklch(37.02% 0.154 308.6)
XYZxyz(7.9831, 4.3121, 19.4766)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C7C #417C1C
analogous
#271C7C #571C7C #7C1C71
triadic
#571C7C #7C571C #1C7C57
tetradic
#571C7C #7C271C #417C1C #1C717C
square
#571C7C #7C271C #417C1C #1C717C
split-complementary
#571C7C #717C1C #1C7C27
monochromatic
#120619 #34114A #571C7C #7A27AE #9A3FD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##571C7C#FFFFFF#000000##FFFFFF
##571C7C1.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)
#00387F
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#51334B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571c7c;
/* rgb */ color: rgb(87, 28, 124);
/* oklch */ color: oklch(37.0% 0.154 308.6);
Tailwind
colors: {
  custom: {
    50: '#8a5fa3',
    500: '#571c7c',
    950: '#000000',
  },
}
SCSS
$custom: #571c7c;
$custom-light: #8a5fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#571c7c",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 276.875,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37023,
    "c": 0.15445,
    "h": 308.6
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#571C7C
secondary
#6EB044
accent
#E64281
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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