#571E7C#571E7C

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

Color values

HEX#571E7C
RGBrgb(87, 30, 124)
HSLhsl(276, 61%, 30%)
HSVhsv(276, 76%, 49%)
CMYKcmyk(29.8%, 75.8%, 0%, 51.4%)
CIE-LABlab(24.98, 42.76, -42.06)
CIE-LCHlch(24.98, 59.98, 315.48°)
OKLaboklab(37.24% 0.0942 -0.1193)
OKLCHoklch(37.24% 0.152 308.3)
XYZxyz(8.0321, 4.4101, 19.4930)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E7C #437C1E
analogous
#281E7C #571E7C #7C1E72
triadic
#571E7C #7C571E #1E7C57
tetradic
#571E7C #7C281E #437C1E #1E727C
square
#571E7C #7C281E #437C1E #1E727C
split-complementary
#571E7C #727C1E #1E7C28
monochromatic
#120619 #34124B #571E7C #7A2AAD #9943D1

Accessibility & contrast

On white

11.16
#571E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571E7C
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E7C#FFFFFF#000000##FFFFFF
##571E7C1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#013C7A
Tritanopia (blue-blind)
#51344B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571e7c;
/* rgb */ color: rgb(87, 30, 124);
/* oklch */ color: oklch(37.2% 0.152 308.3);
Tailwind
colors: {
  custom: {
    50: '#8a60a3',
    500: '#571e7c',
    950: '#000000',
  },
}
SCSS
$custom: #571e7c;
$custom-light: #8a60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#571e7c",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 276.383,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37239,
    "c": 0.15206,
    "h": 308.3
  },
  "luminance": 0.0441
}

Semantic roles & 50–950 ramp

primary
#571E7C
secondary
#70AF46
accent
#E44483
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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