#571E7B#571E7B

#571E7B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.151 H 308.7°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#571E7B
RGBrgb(87, 30, 123)
HSLhsl(277, 61%, 30%)
HSVhsv(277, 76%, 48%)
CMYKcmyk(29.3%, 75.6%, 0%, 51.8%)
CIE-LABlab(24.91, 42.52, -41.55)
CIE-LCHlch(24.91, 59.45, 315.66°)
OKLaboklab(37.16% 0.0944 -0.1178)
OKLCHoklch(37.16% 0.151 308.7)
XYZxyz(7.9692, 4.3850, 19.1616)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E7B #427B1E
analogous
#281E7B #571E7B #7B1E71
triadic
#571E7B #7B571E #1E7B57
tetradic
#571E7B #7B281E #427B1E #1E717B
square
#571E7B #7B281E #427B1E #1E717B
split-complementary
#571E7B #717B1E #1E7B28
monochromatic
#110619 #34124A #571E7B #7A2AAC #9A42D1

Accessibility & contrast

On white

11.19
#571E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#571E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571E7B
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E7B#FFFFFF#000000##FFFFFF
##571E7B1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#033C79
Tritanopia (blue-blind)
#51344B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571e7b;
/* rgb */ color: rgb(87, 30, 123);
/* oklch */ color: oklch(37.2% 0.151 308.7);
Tailwind
colors: {
  custom: {
    50: '#8a60a2',
    500: '#571e7b',
    950: '#000000',
  },
}
SCSS
$custom: #571e7b;
$custom-light: #8a60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#571e7b",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 276.774,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.37159,
    "c": 0.151,
    "h": 308.7
  },
  "luminance": 0.04385
}

Semantic roles & 50–950 ramp

primary
#571E7B
secondary
#6FAE46
accent
#E44482
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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