#571D8A#571D8A

#571D8A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.168 H 303.3°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#571D8A
RGBrgb(87, 29, 138)
HSLhsl(272, 65%, 33%)
HSVhsv(272, 79%, 54%)
CMYKcmyk(37%, 79%, 0%, 45.9%)
CIE-LABlab(25.98, 46.58, -49.24)
CIE-LCHlch(25.98, 67.78, 313.41°)
OKLaboklab(38.3% 0.0921 -0.1404)
OKLCHoklch(38.3% 0.168 303.3)
XYZxyz(8.9562, 4.7399, 24.4829)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D8A #508A1D
analogous
#211D8A #571D8A #8A1D86
triadic
#571D8A #8A571D #1D8A57
tetradic
#571D8A #8A211D #508A1D #1D868A
square
#571D8A #8A211D #508A1D #1D868A
split-complementary
#571D8A #868A1D #1D8A21
monochromatic
#170825 #371257 #571D8A #7728BD #9549D9

Accessibility & contrast

On white

10.78
#571D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#571D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D8A
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D8A#FFFFFF#000000##FFFFFF
##571D8A1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#4D3953
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571d8a;
/* rgb */ color: rgb(87, 29, 138);
/* oklch */ color: oklch(38.3% 0.168 303.3);
Tailwind
colors: {
  custom: {
    50: '#8c60ad',
    500: '#571d8a',
    950: '#000000',
  },
}
SCSS
$custom: #571d8a;
$custom-light: #8c60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#571d8a",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 271.927,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38301,
    "c": 0.16791,
    "h": 303.3
  },
  "luminance": 0.0474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #571D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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