#571D96#571D96

#571D96 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.180 H 299.4°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#571D96
RGBrgb(87, 29, 150)
HSLhsl(269, 68%, 35%)
HSVhsv(269, 81%, 59%)
CMYKcmyk(42%, 80.7%, 0%, 41.2%)
CIE-LABlab(27.04, 49.54, -54.94)
CIE-LCHlch(27.04, 73.98, 312.04°)
OKLaboklab(39.37% 0.0887 -0.1572)
OKLCHoklch(39.37% 0.18 299.4)
XYZxyz(9.8735, 5.1068, 29.3138)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D96 #5C961D
analogous
#1D2096 #571D96 #931D96
triadic
#571D96 #96571D #1D9657
tetradic
#571D96 #961D20 #5C961D #1D9693
square
#571D96 #961D20 #5C961D #1D9693
split-complementary
#571D96 #96931D #20961D
monochromatic
#1C092F #391363 #571D96 #7527C9 #9450DD

Accessibility & contrast

On white

10.39
#571D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#571D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D96
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D96#FFFFFF#000000##FFFFFF
##571D961.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#483F5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #571d96;
/* rgb */ color: rgb(87, 29, 150);
/* oklch */ color: oklch(39.4% 0.180 299.4);
Tailwind
colors: {
  custom: {
    50: '#8d61b6',
    500: '#571d96',
    950: '#000000',
  },
}
SCSS
$custom: #571d96;
$custom-light: #8d61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#571d96",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 268.76,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39365,
    "c": 0.18044,
    "h": 299.4
  },
  "luminance": 0.05107
}

Semantic roles & 50–950 ramp

primary
#571D96
secondary
#8AC04F
accent
#EA3D97
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #571D96

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

Preview Lab → · Contrast checker → · Palette generator →

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