#571F86#571F86

#571F86 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.161 H 304.4°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#571F86
RGBrgb(87, 31, 134)
HSLhsl(273, 62%, 32%)
HSVhsv(273, 77%, 53%)
CMYKcmyk(35.1%, 76.9%, 0%, 47.5%)
CIE-LABlab(25.94, 44.74, -46.80)
CIE-LCHlch(25.94, 64.74, 313.71°)
OKLaboklab(38.17% 0.0912 -0.1333)
OKLCHoklch(38.17% 0.161 304.4)
XYZxyz(8.7226, 4.7275, 23.0026)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F86 #4E861F
analogous
#231F86 #571F86 #861F82
triadic
#571F86 #86571F #1F8657
tetradic
#571F86 #86231F #4E861F #1F8286
square
#571F86 #86231F #4E861F #1F8286
split-complementary
#571F86 #82861F #1F8623
monochromatic
#160823 #371454 #571F86 #772AB8 #964AD5

Accessibility & contrast

On white

10.79
#571F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#571F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F86
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F86#FFFFFF#000000##FFFFFF
##571F861.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#4E3951
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571f86;
/* rgb */ color: rgb(87, 31, 134);
/* oklch */ color: oklch(38.2% 0.161 304.4);
Tailwind
colors: {
  custom: {
    50: '#8b61aa',
    500: '#571f86',
    950: '#000000',
  },
}
SCSS
$custom: #571f86;
$custom-light: #8b61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#571f86",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 272.621,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3817,
    "c": 0.16148,
    "h": 304.4
  },
  "luminance": 0.04727
}

Semantic roles & 50–950 ramp

primary
#571F86
secondary
#7CB849
accent
#E5428D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571F86

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

Preview Lab → · Contrast checker → · Palette generator →

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