#571D90#571D90

#571D90 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.174 H 301.3°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#571D90
RGBrgb(87, 29, 144)
HSLhsl(270, 66%, 34%)
HSVhsv(270, 80%, 56%)
CMYKcmyk(39.6%, 79.9%, 0%, 43.5%)
CIE-LABlab(26.50, 48.05, -52.11)
CIE-LCHlch(26.50, 70.89, 312.68°)
OKLaboklab(38.83% 0.0904 -0.1489)
OKLCHoklch(38.83% 0.174 301.3)
XYZxyz(9.4027, 4.9185, 26.8341)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D90 #56901D
analogous
#1E1D90 #571D90 #901D90
triadic
#571D90 #90571D #1D9057
tetradic
#571D90 #901E1D #56901D #1D9090
square
#571D90 #901E1D #56901D #1D9090
split-complementary
#571D90 #90901D #1D901E
monochromatic
#19082A #38135D #571D90 #7627C3 #944CDB

Accessibility & contrast

On white

10.59
#571D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#571D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D90
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D90#FFFFFF#000000##FFFFFF
##571D901.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#4A3C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #571d90;
/* rgb */ color: rgb(87, 29, 144);
/* oklch */ color: oklch(38.8% 0.174 301.3);
Tailwind
colors: {
  custom: {
    50: '#8c60b1',
    500: '#571d90',
    950: '#000000',
  },
}
SCSS
$custom: #571d90;
$custom-light: #8c60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#571d90",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 270.261,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38826,
    "c": 0.17418,
    "h": 301.3
  },
  "luminance": 0.04919
}

Semantic roles & 50–950 ramp

primary
#571D90
secondary
#84BD4B
accent
#E93E93
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571D90

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

Preview Lab → · Contrast checker → · Palette generator →

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