#571C91#571C91

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

Color values

HEX#571C91
RGBrgb(87, 28, 145)
HSLhsl(270, 68%, 34%)
HSVhsv(270, 81%, 57%)
CMYKcmyk(40%, 80.7%, 0%, 43.1%)
CIE-LABlab(26.45, 48.70, -52.82)
CIE-LCHlch(26.45, 71.84, 312.68°)
OKLaboklab(38.82% 0.091 -0.1509)
OKLCHoklch(38.82% 0.176 301.1)
XYZxyz(9.4553, 4.9010, 27.2304)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C91 #56911C
analogous
#1C1C91 #571C91 #911C91
triadic
#571C91 #91571C #1C9157
tetradic
#571C91 #911C1C #56911C #1C9191
square
#571C91 #911C1C #56911C #1C9191
split-complementary
#571C91 #91911C #1C911C
monochromatic
#19082A #38125E #571C91 #7626C4 #944BDC

Accessibility & contrast

On white

10.60
#571C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571C91
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C91#FFFFFF#000000##FFFFFF
##571C911.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#4A3C57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #571c91;
/* rgb */ color: rgb(87, 28, 145);
/* oklch */ color: oklch(38.8% 0.176 301.1);
Tailwind
colors: {
  custom: {
    50: '#8c60b2',
    500: '#571c91',
    950: '#000000',
  },
}
SCSS
$custom: #571c91;
$custom-light: #8c60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#571c91",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 270.256,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38818,
    "c": 0.17621,
    "h": 301.1
  },
  "luminance": 0.04901
}

Semantic roles & 50–950 ramp

primary
#571C91
secondary
#84BE4A
accent
#EB3D93
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571C91

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

Preview Lab → · Contrast checker → · Palette generator →

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