#571A7B#571A7B

#571A7B is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.156 H 309.2°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#571A7B
RGBrgb(87, 26, 123)
HSLhsl(278, 65%, 29%)
HSVhsv(278, 79%, 48%)
CMYKcmyk(29.3%, 78.9%, 0%, 51.8%)
CIE-LABlab(24.31, 44.23, -42.52)
CIE-LCHlch(24.31, 61.36, 316.13°)
OKLaboklab(36.74% 0.0984 -0.1207)
OKLCHoklch(36.74% 0.156 309.2)
XYZxyz(7.8743, 4.1952, 19.1300)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A7B #3E7B1A
analogous
#271A7B #571A7B #7B1A6F
triadic
#571A7B #7B571A #1A7B57
tetradic
#571A7B #7B271A #3E7B1A #1A6F7B
square
#571A7B #7B271A #3E7B1A #1A6F7B
split-complementary
#571A7B #6F7B1A #1A7B27
monochromatic
#120519 #330F48 #571A7B #7B25AE #9C3AD5

Accessibility & contrast

On white

11.42
#571A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#571A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A7B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A7B#FFFFFF#000000##FFFFFF
##571A7B1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#52324A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571a7b;
/* rgb */ color: rgb(87, 26, 123);
/* oklch */ color: oklch(36.7% 0.156 309.2);
Tailwind
colors: {
  custom: {
    50: '#8b5ea2',
    500: '#571a7b',
    950: '#000000',
  },
}
SCSS
$custom: #571a7b;
$custom-light: #8b5ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#571a7b",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 277.732,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36737,
    "c": 0.15572,
    "h": 309.2
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

primary
#571A7B
secondary
#6AAF42
accent
#E8407E
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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