#571A82#571A82

#571A82 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.163 H 306.5°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#571A82
RGBrgb(87, 26, 130)
HSLhsl(275, 67%, 31%)
HSVhsv(275, 80%, 51%)
CMYKcmyk(33.1%, 80%, 0%, 49%)
CIE-LABlab(24.88, 45.87, -46.02)
CIE-LCHlch(24.88, 64.98, 314.91°)
OKLaboklab(37.32% 0.0968 -0.1309)
OKLCHoklch(37.32% 0.163 306.5)
XYZxyz(8.3283, 4.3768, 21.5208)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A82 #45821A
analogous
#231A82 #571A82 #821A79
triadic
#571A82 #82571A #1A8257
tetradic
#571A82 #82231A #45821A #1A7982
square
#571A82 #82231A #45821A #1A7982
split-complementary
#571A82 #79821A #1A8223
monochromatic
#13061C #35104F #571A82 #7924B5 #993ED8

Accessibility & contrast

On white

11.20
#571A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#571A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A82
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A82#FFFFFF#000000##FFFFFF
##571A821.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#4F354E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571a82;
/* rgb */ color: rgb(87, 26, 130);
/* oklch */ color: oklch(37.3% 0.163 306.5);
Tailwind
colors: {
  custom: {
    50: '#8b5ea7',
    500: '#571a82',
    950: '#000000',
  },
}
SCSS
$custom: #571a82;
$custom-light: #8b5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#571a82",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 275.192,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37319,
    "c": 0.16284,
    "h": 306.5
  },
  "luminance": 0.04377
}

Semantic roles & 50–950 ramp

primary
#571A82
secondary
#72B642
accent
#EA3E85
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571A82

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

Preview Lab → · Contrast checker → · Palette generator →

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