#571A86#571A86

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

Color values

HEX#571A86
RGBrgb(87, 26, 134)
HSLhsl(274, 68%, 31%)
HSVhsv(274, 81%, 53%)
CMYKcmyk(35.1%, 80.6%, 0%, 47.5%)
CIE-LABlab(25.22, 46.82, -47.98)
CIE-LCHlch(25.22, 67.04, 314.30°)
OKLaboklab(37.66% 0.0958 -0.1367)
OKLCHoklch(37.66% 0.167 305)
XYZxyz(8.6020, 4.4863, 22.9624)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A86 #49861A
analogous
#211A86 #571A86 #861A7F
triadic
#571A86 #86571A #1A8657
tetradic
#571A86 #86211A #49861A #1A7F86
square
#571A86 #86211A #49861A #1A7F86
split-complementary
#571A86 #7F861A #1A8621
monochromatic
#14061F #361053 #571A86 #7824B9 #9740DA

Accessibility & contrast

On white

11.07
#571A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571A86
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A86#FFFFFF#000000##FFFFFF
##571A861.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#4E3650
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571a86;
/* rgb */ color: rgb(87, 26, 134);
/* oklch */ color: oklch(37.7% 0.167 305.0);
Tailwind
colors: {
  custom: {
    50: '#8b5eaa',
    500: '#571a86',
    950: '#000000',
  },
}
SCSS
$custom: #571a86;
$custom-light: #8b5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#571a86",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 273.889,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37661,
    "c": 0.1669,
    "h": 305
  },
  "luminance": 0.04486
}

Semantic roles & 50–950 ramp

primary
#571A86
secondary
#76B942
accent
#EA3D89
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571A86

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

Preview Lab → · Contrast checker → · Palette generator →

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