#571D89#571D89

#571D89 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.167 H 303.6°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#571D89
RGBrgb(87, 29, 137)
HSLhsl(272, 65%, 33%)
HSVhsv(272, 79%, 54%)
CMYKcmyk(36.5%, 78.8%, 0%, 46.3%)
CIE-LABlab(25.90, 46.33, -48.75)
CIE-LCHlch(25.90, 67.26, 313.54°)
OKLaboklab(38.21% 0.0923 -0.139)
OKLCHoklch(38.21% 0.167 303.6)
XYZxyz(8.8841, 4.7111, 24.1034)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D89 #4F891D
analogous
#211D89 #571D89 #891D85
triadic
#571D89 #89571D #1D8957
tetradic
#571D89 #89211D #4F891D #1D8589
square
#571D89 #89211D #4F891D #1D8589
split-complementary
#571D89 #85891D #1D8921
monochromatic
#170824 #371256 #571D89 #7728BC #9648D8

Accessibility & contrast

On white

10.81
#571D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#571D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D89
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D89#FFFFFF#000000##FFFFFF
##571D891.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#4D3952
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571d89;
/* rgb */ color: rgb(87, 29, 137);
/* oklch */ color: oklch(38.2% 0.167 303.6);
Tailwind
colors: {
  custom: {
    50: '#8c60ac',
    500: '#571d89',
    950: '#000000',
  },
}
SCSS
$custom: #571d89;
$custom-light: #8c60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#571d89",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 272.222,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38214,
    "c": 0.16686,
    "h": 303.6
  },
  "luminance": 0.04711
}

Semantic roles & 50–950 ramp

primary
#571D89
secondary
#7DBA47
accent
#E8408E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571D89

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

Preview Lab → · Contrast checker → · Palette generator →

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