#571C8A#571C8A

#571C8A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.169 H 303.4°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#571C8A
RGBrgb(87, 28, 138)
HSLhsl(272, 66%, 33%)
HSVhsv(272, 80%, 54%)
CMYKcmyk(37%, 79.7%, 0%, 45.9%)
CIE-LABlab(25.84, 46.99, -49.47)
CIE-LCHlch(25.84, 68.23, 313.53°)
OKLaboklab(38.2% 0.093 -0.1411)
OKLCHoklch(38.2% 0.169 303.4)
XYZxyz(8.9321, 4.6917, 24.4749)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C8A #4F8A1C
analogous
#201C8A #571C8A #8A1C86
triadic
#571C8A #8A571C #1C8A57
tetradic
#571C8A #8A201C #4F8A1C #1C868A
square
#571C8A #8A201C #4F8A1C #1C868A
split-complementary
#571C8A #868A1C #1C8A20
monochromatic
#170724 #371257 #571C8A #7726BD #9647DA

Accessibility & contrast

On white

10.83
#571C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#571C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C8A
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C8A#FFFFFF#000000##FFFFFF
##571C8A1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#4D3953
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571c8a;
/* rgb */ color: rgb(87, 28, 138);
/* oklch */ color: oklch(38.2% 0.169 303.4);
Tailwind
colors: {
  custom: {
    50: '#8c60ad',
    500: '#571c8a',
    950: '#000000',
  },
}
SCSS
$custom: #571c8a;
$custom-light: #8c60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#571c8a",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 272.182,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38201,
    "c": 0.16896,
    "h": 303.4
  },
  "luminance": 0.04692
}

Semantic roles & 50–950 ramp

primary
#571C8A
secondary
#7DBB46
accent
#E93F8E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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