#571C8B#571C8B

#571C8B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.170 H 303.0°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#571C8B
RGBrgb(87, 28, 139)
HSLhsl(272, 66%, 33%)
HSVhsv(272, 80%, 55%)
CMYKcmyk(37.4%, 79.9%, 0%, 45.5%)
CIE-LABlab(25.92, 47.23, -49.95)
CIE-LCHlch(25.92, 68.75, 313.40°)
OKLaboklab(38.29% 0.0927 -0.1425)
OKLCHoklch(38.29% 0.17 303)
XYZxyz(9.0048, 4.7208, 24.8579)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C8B #508B1C
analogous
#201C8B #571C8B #8B1C87
triadic
#571C8B #8B571C #1C8B57
tetradic
#571C8B #8B201C #508B1C #1C878B
square
#571C8B #8B201C #508B1C #1C878B
split-complementary
#571C8B #878B1C #1C8B20
monochromatic
#170725 #371258 #571C8B #7726BE #9547DA

Accessibility & contrast

On white

10.80
#571C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571C8B
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C8B#FFFFFF#000000##FFFFFF
##571C8B1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#4C3953
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571c8b;
/* rgb */ color: rgb(87, 28, 139);
/* oklch */ color: oklch(38.3% 0.170 303.0);
Tailwind
colors: {
  custom: {
    50: '#8c60ae',
    500: '#571c8b',
    950: '#000000',
  },
}
SCSS
$custom: #571c8b;
$custom-light: #8c60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#571c8b",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 271.892,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38288,
    "c": 0.17,
    "h": 303
  },
  "luminance": 0.04721
}

Semantic roles & 50–950 ramp

primary
#571C8B
secondary
#7EBC47
accent
#E93E8F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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