#571D88#571D88

#571D88 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.166 H 303.9°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#571D88
RGBrgb(87, 29, 136)
HSLhsl(273, 65%, 32%)
HSVhsv(273, 79%, 53%)
CMYKcmyk(36%, 78.7%, 0%, 46.7%)
CIE-LABlab(25.81, 46.09, -48.27)
CIE-LCHlch(25.81, 66.74, 313.68°)
OKLaboklab(38.13% 0.0926 -0.1376)
OKLCHoklch(38.13% 0.166 303.9)
XYZxyz(8.8127, 4.6826, 23.7273)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D88 #4E881D
analogous
#211D88 #571D88 #881D84
triadic
#571D88 #88571D #1D8857
tetradic
#571D88 #88211D #4E881D #1D8488
square
#571D88 #88211D #4E881D #1D8488
split-complementary
#571D88 #84881D #1D8821
monochromatic
#160723 #371256 #571D88 #7728BA #9648D8

Accessibility & contrast

On white

10.84
#571D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571D88
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D88#FFFFFF#000000##FFFFFF
##571D881.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571d88;
/* rgb */ color: rgb(87, 29, 136);
/* oklch */ color: oklch(38.1% 0.166 303.9);
Tailwind
colors: {
  custom: {
    50: '#8b60ac',
    500: '#571d88',
    950: '#000000',
  },
}
SCSS
$custom: #571d88;
$custom-light: #8b60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#571d88",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 272.523,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38129,
    "c": 0.16582,
    "h": 303.9
  },
  "luminance": 0.04683
}

Semantic roles & 50–950 ramp

primary
#571D88
secondary
#7CBA47
accent
#E8408D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571D88

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

Preview Lab → · Contrast checker → · Palette generator →

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