#571C9F#571C9F

#571C9F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.191 H 297.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#571C9F
RGBrgb(87, 28, 159)
HSLhsl(267, 70%, 37%)
HSVhsv(267, 82%, 62%)
CMYKcmyk(45.3%, 82.4%, 0%, 37.6%)
CIE-LABlab(27.74, 52.17, -59.30)
CIE-LCHlch(27.74, 78.98, 311.34°)
OKLaboklab(40.1% 0.0865 -0.1699)
OKLCHoklch(40.1% 0.191 297)
XYZxyz(10.6021, 5.3597, 33.2701)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C9F #649F1C
analogous
#1C239F #571C9F #991C9F
triadic
#571C9F #9F571C #1C9F57
tetradic
#571C9F #9F1C23 #649F1C #1C9F99
square
#571C9F #9F1C23 #649F1C #1C9F99
split-complementary
#571C9F #9F991C #239F1C
monochromatic
#1E0A37 #3B136B #571C9F #7325D3 #9454E1

Accessibility & contrast

On white

10.14
#571C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#571C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C9F
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C9F#FFFFFF#000000##FFFFFF
##571C9F1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#43425F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #571c9f;
/* rgb */ color: rgb(87, 28, 159);
/* oklch */ color: oklch(40.1% 0.191 297.0);
Tailwind
colors: {
  custom: {
    50: '#8e61bc',
    500: '#571c9f',
    950: '#000000',
  },
}
SCSS
$custom: #571c9f;
$custom-light: #8e61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#571c9f",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 267.023,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40104,
    "c": 0.19069,
    "h": 297
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#571C9F
secondary
#91C453
accent
#ED3B9D
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #571C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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