#571A87#571A87

#571A87 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.168 H 304.7°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#571A87
RGBrgb(87, 26, 135)
HSLhsl(274, 68%, 32%)
HSVhsv(274, 81%, 53%)
CMYKcmyk(35.6%, 80.7%, 0%, 47.1%)
CIE-LABlab(25.30, 47.06, -48.47)
CIE-LCHlch(25.30, 67.56, 314.16°)
OKLaboklab(37.75% 0.0955 -0.1381)
OKLCHoklch(37.75% 0.168 304.7)
XYZxyz(8.6720, 4.5143, 23.3315)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A87 #4A871A
analogous
#211A87 #571A87 #871A81
triadic
#571A87 #87571A #1A8757
tetradic
#571A87 #87211A #4A871A #1A8187
square
#571A87 #87211A #4A871A #1A8187
split-complementary
#571A87 #81871A #1A8721
monochromatic
#150620 #361054 #571A87 #7824BA #9741DA

Accessibility & contrast

On white

11.04
#571A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#571A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A87
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A87#FFFFFF#000000##FFFFFF
##571A871.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#4E3750
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571a87;
/* rgb */ color: rgb(87, 26, 135);
/* oklch */ color: oklch(37.7% 0.168 304.7);
Tailwind
colors: {
  custom: {
    50: '#8c5fab',
    500: '#571a87',
    950: '#000000',
  },
}
SCSS
$custom: #571a87;
$custom-light: #8c5fab;
$custom-dark: #000000;
JSON
{
  "hex": "#571a87",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 273.578,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37747,
    "c": 0.16792,
    "h": 304.7
  },
  "luminance": 0.04514
}

Semantic roles & 50–950 ramp

primary
#571A87
secondary
#77BA42
accent
#EB3D8A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571A87

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

Preview Lab → · Contrast checker → · Palette generator →

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