#571C82#571C82

#571C82 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.161 H 306.2°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#571C82
RGBrgb(87, 28, 130)
HSLhsl(275, 65%, 31%)
HSVhsv(275, 78%, 51%)
CMYKcmyk(33.1%, 78.5%, 0%, 49%)
CIE-LABlab(25.16, 45.06, -45.56)
CIE-LCHlch(25.16, 64.08, 314.68°)
OKLaboklab(37.52% 0.095 -0.1296)
OKLCHoklch(37.52% 0.161 306.2)
XYZxyz(8.3741, 4.4685, 21.5361)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C82 #47821C
analogous
#241C82 #571C82 #821C7A
triadic
#571C82 #82571C #1C8257
tetradic
#571C82 #82241C #47821C #1C7A82
square
#571C82 #82241C #47821C #1C7A82
split-complementary
#571C82 #7A821C #1C8224
monochromatic
#14061D #351150 #571C82 #7927B4 #9842D6

Accessibility & contrast

On white

11.09
#571C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#571C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C82
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C82#FFFFFF#000000##FFFFFF
##571C821.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#4F364E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571c82;
/* rgb */ color: rgb(87, 28, 130);
/* oklch */ color: oklch(37.5% 0.161 306.2);
Tailwind
colors: {
  custom: {
    50: '#8b5fa7',
    500: '#571c82',
    950: '#000000',
  },
}
SCSS
$custom: #571c82;
$custom-light: #8b5fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#571c82",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 274.706,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37518,
    "c": 0.16066,
    "h": 306.2
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

primary
#571C82
secondary
#74B544
accent
#E84087
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571C82

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

Preview Lab → · Contrast checker → · Palette generator →

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