#571E85#571E85

#571E85 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.162 H 304.9°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#571E85
RGBrgb(87, 30, 133)
HSLhsl(273, 63%, 32%)
HSVhsv(273, 77%, 52%)
CMYKcmyk(34.6%, 77.4%, 0%, 47.8%)
CIE-LABlab(25.71, 44.93, -46.56)
CIE-LCHlch(25.71, 64.70, 313.98°)
OKLaboklab(37.98% 0.0924 -0.1325)
OKLCHoklch(37.98% 0.162 304.9)
XYZxyz(8.6274, 4.6483, 22.6285)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E85 #4C851E
analogous
#241E85 #571E85 #851E80
triadic
#571E85 #85571E #1E8557
tetradic
#571E85 #85241E #4C851E #1E8085
square
#571E85 #85241E #4C851E #1E8085
split-complementary
#571E85 #80851E #1E8524
monochromatic
#160721 #361353 #571E85 #7829B7 #9648D6

Accessibility & contrast

On white

10.88
#571E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#571E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571E85
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E85#FFFFFF#000000##FFFFFF
##571E851.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#4E3850
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571e85;
/* rgb */ color: rgb(87, 30, 133);
/* oklch */ color: oklch(38.0% 0.162 304.9);
Tailwind
colors: {
  custom: {
    50: '#8b60a9',
    500: '#571e85',
    950: '#000000',
  },
}
SCSS
$custom: #571e85;
$custom-light: #8b60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#571e85",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 273.204,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37978,
    "c": 0.16155,
    "h": 304.9
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

primary
#571E85
secondary
#79B847
accent
#E6428B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571E85

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

Preview Lab → · Contrast checker → · Palette generator →

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