#571E7A#571E7A

#571E7A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.150 H 309.1°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#571E7A
RGBrgb(87, 30, 122)
HSLhsl(277, 61%, 30%)
HSVhsv(277, 75%, 48%)
CMYKcmyk(28.7%, 75.4%, 0%, 52.2%)
CIE-LABlab(24.83, 42.29, -41.04)
CIE-LCHlch(24.83, 58.93, 315.86°)
OKLaboklab(37.08% 0.0946 -0.1163)
OKLCHoklch(37.08% 0.15 309.1)
XYZxyz(7.9069, 4.3601, 18.8336)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E7A #417A1E
analogous
#291E7A #571E7A #7A1E6F
triadic
#571E7A #7A571E #1E7A57
tetradic
#571E7A #7A291E #417A1E #1E6F7A
square
#571E7A #7A291E #417A1E #1E6F7A
split-complementary
#571E7A #6F7A1E #1E7A29
monochromatic
#120619 #341249 #571E7A #7A2AAB #9A42D0

Accessibility & contrast

On white

11.22
#571E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#571E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571E7A
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E7A#FFFFFF#000000##FFFFFF
##571E7A1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#063C78
Tritanopia (blue-blind)
#52334A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571e7a;
/* rgb */ color: rgb(87, 30, 122);
/* oklch */ color: oklch(37.1% 0.150 309.1);
Tailwind
colors: {
  custom: {
    50: '#8a60a1',
    500: '#571e7a',
    950: '#000000',
  },
}
SCSS
$custom: #571e7a;
$custom-light: #8a60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#571e7a",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 277.174,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3708,
    "c": 0.14994,
    "h": 309.1
  },
  "luminance": 0.0436
}

Semantic roles & 50–950 ramp

primary
#571E7A
secondary
#6EAE46
accent
#E44481
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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