#571D82#571D82

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

Color values

HEX#571D82
RGBrgb(87, 29, 130)
HSLhsl(274, 64%, 31%)
HSVhsv(274, 78%, 51%)
CMYKcmyk(33.1%, 77.7%, 0%, 49%)
CIE-LABlab(25.31, 44.63, -45.32)
CIE-LCHlch(25.31, 63.61, 314.56°)
OKLaboklab(37.62% 0.094 -0.1289)
OKLCHoklch(37.62% 0.16 306.1)
XYZxyz(8.3982, 4.5168, 21.5442)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D82 #48821D
analogous
#241D82 #571D82 #821D7A
triadic
#571D82 #82571D #1D8257
tetradic
#571D82 #82241D #48821D #1D7A82
square
#571D82 #82241D #48821D #1D7A82
split-complementary
#571D82 #7A821D #1D8224
monochromatic
#14071E #361250 #571D82 #7828B4 #9744D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##571D82#FFFFFF#000000##FFFFFF
##571D821.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)
#003A85
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#4F364E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571d82;
/* rgb */ color: rgb(87, 29, 130);
/* oklch */ color: oklch(37.6% 0.160 306.1);
Tailwind
colors: {
  custom: {
    50: '#8b60a7',
    500: '#571d82',
    950: '#000000',
  },
}
SCSS
$custom: #571d82;
$custom-light: #8b60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#571d82",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 274.455,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37622,
    "c": 0.15955,
    "h": 306.1
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#571D82
secondary
#75B546
accent
#E74188
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571D82

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

Preview Lab → · Contrast checker → · Palette generator →

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