#571A89#571A89

#571A89 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.170 H 304.0°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#571A89
RGBrgb(87, 26, 137)
HSLhsl(273, 68%, 32%)
HSVhsv(273, 81%, 54%)
CMYKcmyk(36.5%, 81%, 0%, 46.3%)
CIE-LABlab(25.48, 47.54, -49.44)
CIE-LCHlch(25.48, 68.59, 313.88°)
OKLaboklab(37.92% 0.0949 -0.141)
OKLCHoklch(37.92% 0.17 304)
XYZxyz(8.8142, 4.5712, 24.0800)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A89 #4C891A
analogous
#201A89 #571A89 #891A84
triadic
#571A89 #89571A #1A8957
tetradic
#571A89 #89201A #4C891A #1A8489
square
#571A89 #89201A #4C891A #1A8489
split-complementary
#571A89 #84891A #1A8920
monochromatic
#160622 #361056 #571A89 #7824BC #9642DB

Accessibility & contrast

On white

10.97
#571A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#571A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A89
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A89#FFFFFF#000000##FFFFFF
##571A891.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#4D3852
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571a89;
/* rgb */ color: rgb(87, 26, 137);
/* oklch */ color: oklch(37.9% 0.170 304.0);
Tailwind
colors: {
  custom: {
    50: '#8c5fac',
    500: '#571a89',
    950: '#000000',
  },
}
SCSS
$custom: #571a89;
$custom-light: #8c5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#571a89",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 272.973,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37921,
    "c": 0.16996,
    "h": 304
  },
  "luminance": 0.04571
}

Semantic roles & 50–950 ramp

primary
#571A89
secondary
#79BC43
accent
#EB3D8B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571A89

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

Preview Lab → · Contrast checker → · Palette generator →

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