#571B86#571B86

#571B86 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.166 H 304.9°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#571B86
RGBrgb(87, 27, 134)
HSLhsl(274, 66%, 32%)
HSVhsv(274, 80%, 53%)
CMYKcmyk(35.1%, 79.9%, 0%, 47.5%)
CIE-LABlab(25.36, 46.42, -47.76)
CIE-LCHlch(25.36, 66.60, 314.19°)
OKLaboklab(37.76% 0.0949 -0.136)
OKLCHoklch(37.76% 0.166 304.9)
XYZxyz(8.6245, 4.5314, 22.9699)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B86 #4A861B
analogous
#221B86 #571B86 #861B80
triadic
#571B86 #86571B #1B8657
tetradic
#571B86 #86221B #4A861B #1B8086
square
#571B86 #86221B #4A861B #1B8086
split-complementary
#571B86 #80861B #1B8622
monochromatic
#150620 #361153 #571B86 #7825B9 #9742D9

Accessibility & contrast

On white

11.02
#571B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#571B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B86
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B86#FFFFFF#000000##FFFFFF
##571B861.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571b86;
/* rgb */ color: rgb(87, 27, 134);
/* oklch */ color: oklch(37.8% 0.166 304.9);
Tailwind
colors: {
  custom: {
    50: '#8b5faa',
    500: '#571b86',
    950: '#000000',
  },
}
SCSS
$custom: #571b86;
$custom-light: #8b5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#571b86",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 273.645,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37757,
    "c": 0.16587,
    "h": 304.9
  },
  "luminance": 0.04531
}

Semantic roles & 50–950 ramp

primary
#571B86
secondary
#77B944
accent
#E93E8A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571B86

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

Preview Lab → · Contrast checker → · Palette generator →

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