#571E7D#571E7D

#571E7D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.153 H 307.9°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#571E7D
RGBrgb(87, 30, 125)
HSLhsl(276, 61%, 30%)
HSVhsv(276, 76%, 49%)
CMYKcmyk(30.4%, 76%, 0%, 51%)
CIE-LABlab(25.06, 43.00, -42.57)
CIE-LCHlch(25.06, 60.50, 315.29°)
OKLaboklab(37.32% 0.0941 -0.1208)
OKLCHoklch(37.32% 0.153 307.9)
XYZxyz(8.0956, 4.4356, 19.8277)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E7D #447D1E
analogous
#271E7D #571E7D #7D1E73
triadic
#571E7D #7D571E #1E7D57
tetradic
#571E7D #7D271E #447D1E #1E737D
square
#571E7D #7D271E #447D1E #1E737D
split-complementary
#571E7D #737D1E #1E7D27
monochromatic
#12061A #35124C #571E7D #792AAE #9943D2

Accessibility & contrast

On white

11.13
#571E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#571E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571E7D
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E7D#FFFFFF#000000##FFFFFF
##571E7D1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#51344C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571e7d;
/* rgb */ color: rgb(87, 30, 125);
/* oklch */ color: oklch(37.3% 0.153 307.9);
Tailwind
colors: {
  custom: {
    50: '#8a60a3',
    500: '#571e7d',
    950: '#000000',
  },
}
SCSS
$custom: #571e7d;
$custom-light: #8a60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#571e7d",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 276,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3732,
    "c": 0.15311,
    "h": 307.9
  },
  "luminance": 0.04435
}

Semantic roles & 50–950 ramp

primary
#571E7D
secondary
#71B046
accent
#E44384
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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