#571D9A#571D9A

#571D9A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.185 H 298.3°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#571D9A
RGBrgb(87, 29, 154)
HSLhsl(268, 68%, 36%)
HSVhsv(268, 81%, 60%)
CMYKcmyk(43.5%, 81.2%, 0%, 39.6%)
CIE-LABlab(27.40, 50.54, -56.80)
CIE-LCHlch(27.40, 76.02, 311.66°)
OKLaboklab(39.73% 0.0874 -0.1626)
OKLCHoklch(39.73% 0.185 298.3)
XYZxyz(10.2011, 5.2379, 31.0391)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D9A #609A1D
analogous
#1D219A #571D9A #951D9A
triadic
#571D9A #9A571D #1D9A57
tetradic
#571D9A #9A1D21 #609A1D #1D9A95
square
#571D9A #9A1D21 #609A1D #1D9A95
split-complementary
#571D9A #9A951D #219A1D
monochromatic
#1D0A33 #3A1366 #571D9A #7427CE #9453DF

Accessibility & contrast

On white

10.26
#571D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#571D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D9A
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D9A#FFFFFF#000000##FFFFFF
##571D9A1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#46405C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #571d9a;
/* rgb */ color: rgb(87, 29, 154);
/* oklch */ color: oklch(39.7% 0.185 298.3);
Tailwind
colors: {
  custom: {
    50: '#8d61b9',
    500: '#571d9a',
    950: '#000000',
  },
}
SCSS
$custom: #571d9a;
$custom-light: #8d61b9;
$custom-dark: #000000;
JSON
{
  "hex": "#571d9a",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 154
  },
  "hsl": {
    "h": 267.84,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3973,
    "c": 0.18461,
    "h": 298.3
  },
  "luminance": 0.05238
}

Semantic roles & 50–950 ramp

primary
#571D9A
secondary
#8DC251
accent
#EB3D9A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #571D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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