#571A84#571A84

#571A84 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.165 H 305.7°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#571A84
RGBrgb(87, 26, 132)
HSLhsl(275, 67%, 31%)
HSVhsv(275, 80%, 52%)
CMYKcmyk(34.1%, 80.3%, 0%, 48.2%)
CIE-LABlab(25.05, 46.35, -47.00)
CIE-LCHlch(25.05, 66.01, 314.60°)
OKLaboklab(37.49% 0.0963 -0.1338)
OKLCHoklch(37.49% 0.165 305.7)
XYZxyz(8.4638, 4.4310, 22.2347)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A84 #47841A
analogous
#221A84 #571A84 #841A7C
triadic
#571A84 #84571A #1A8457
tetradic
#571A84 #84221A #47841A #1A7C84
square
#571A84 #84221A #47841A #1A7C84
split-complementary
#571A84 #7C841A #1A8422
monochromatic
#14061E #351051 #571A84 #7924B7 #983FD9

Accessibility & contrast

On white

11.13
#571A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571A84
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A84#FFFFFF#000000##FFFFFF
##571A841.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571a84;
/* rgb */ color: rgb(87, 26, 132);
/* oklch */ color: oklch(37.5% 0.165 305.7);
Tailwind
colors: {
  custom: {
    50: '#8b5ea9',
    500: '#571a84',
    950: '#000000',
  },
}
SCSS
$custom: #571a84;
$custom-light: #8b5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#571a84",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 274.528,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37489,
    "c": 0.16487,
    "h": 305.7
  },
  "luminance": 0.04431
}

Semantic roles & 50–950 ramp

primary
#571A84
secondary
#74B842
accent
#EA3E87
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571A84

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

Preview Lab → · Contrast checker → · Palette generator →

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