#571A8D#571A8D

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

Color values

HEX#571A8D
RGBrgb(87, 26, 141)
HSLhsl(272, 69%, 33%)
HSVhsv(272, 82%, 55%)
CMYKcmyk(38.3%, 81.6%, 0%, 44.7%)
CIE-LABlab(25.83, 48.50, -51.36)
CIE-LCHlch(25.83, 70.64, 313.36°)
OKLaboklab(38.27% 0.0938 -0.1466)
OKLCHoklch(38.27% 0.174 302.6)
XYZxyz(9.1064, 4.6881, 25.6193)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A8D #508D1A
analogous
#1D1A8D #571A8D #8D1A89
triadic
#571A8D #8D571A #1A8D57
tetradic
#571A8D #8D1D1A #508D1A #1A898D
square
#571A8D #8D1D1A #508D1A #1A898D
split-complementary
#571A8D #898D1A #1A8D1D
monochromatic
#170726 #371059 #571A8D #7724C1 #9545DD

Accessibility & contrast

On white

10.84
#571A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571A8D
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A8D#FFFFFF#000000##FFFFFF
##571A8D1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#4B3954
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571a8d;
/* rgb */ color: rgb(87, 26, 141);
/* oklch */ color: oklch(38.3% 0.174 302.6);
Tailwind
colors: {
  custom: {
    50: '#8c5faf',
    500: '#571a8d',
    950: '#000000',
  },
}
SCSS
$custom: #571a8d;
$custom-light: #8c5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#571a8d",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 271.826,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38274,
    "c": 0.17404,
    "h": 302.6
  },
  "luminance": 0.04688
}

Semantic roles & 50–950 ramp

primary
#571A8D
secondary
#7EBE45
accent
#EC3C8F
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #571A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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