#571C8D#571C8D

#571C8D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.172 H 302.4°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#571C8D
RGBrgb(87, 28, 141)
HSLhsl(271, 67%, 33%)
HSVhsv(271, 80%, 55%)
CMYKcmyk(38.3%, 80.1%, 0%, 44.7%)
CIE-LABlab(26.10, 47.72, -50.91)
CIE-LCHlch(26.10, 69.78, 313.14°)
OKLaboklab(38.46% 0.0921 -0.1453)
OKLCHoklch(38.46% 0.172 302.4)
XYZxyz(9.1523, 4.7798, 25.6346)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C8D #528D1C
analogous
#1E1C8D #571C8D #8D1C8A
triadic
#571C8D #8D571C #1C8D57
tetradic
#571C8D #8D1E1C #528D1C #1C8A8D
square
#571C8D #8D1E1C #528D1C #1C8A8D
split-complementary
#571C8D #8A8D1C #1C8D1E
monochromatic
#180827 #37125A #571C8D #7726C0 #9549DB

Accessibility & contrast

On white

10.74
#571C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#571C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C8D
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C8D#FFFFFF#000000##FFFFFF
##571C8D1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#4B3A54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #571c8d;
/* rgb */ color: rgb(87, 28, 141);
/* oklch */ color: oklch(38.5% 0.172 302.4);
Tailwind
colors: {
  custom: {
    50: '#8c60af',
    500: '#571c8d',
    950: '#000000',
  },
}
SCSS
$custom: #571c8d;
$custom-light: #8c60af;
$custom-dark: #000000;
JSON
{
  "hex": "#571c8d",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 271.327,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38463,
    "c": 0.17207,
    "h": 302.4
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#571C8D
secondary
#80BD48
accent
#EA3E90
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #571C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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