#571C7B#571C7B

#571C7B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.153 H 309.0°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#571C7B
RGBrgb(87, 28, 123)
HSLhsl(277, 63%, 30%)
HSVhsv(277, 77%, 48%)
CMYKcmyk(29.3%, 77.2%, 0%, 51.8%)
CIE-LABlab(24.60, 43.40, -42.05)
CIE-LCHlch(24.60, 60.43, 315.91°)
OKLaboklab(36.94% 0.0965 -0.1193)
OKLCHoklch(36.94% 0.153 309)
XYZxyz(7.9202, 4.2869, 19.1453)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C7B #407B1C
analogous
#271C7B #571C7B #7B1C70
triadic
#571C7B #7B571C #1C7B57
tetradic
#571C7B #7B271C #407B1C #1C707B
square
#571C7B #7B271C #407B1C #1C707B
split-complementary
#571C7B #707B1C #1C7B27
monochromatic
#120619 #341149 #571C7B #7A27AD #9B3ED3

Accessibility & contrast

On white

11.31
#571C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#571C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C7B
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C7B#FFFFFF#000000##FFFFFF
##571C7B1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571c7b;
/* rgb */ color: rgb(87, 28, 123);
/* oklch */ color: oklch(36.9% 0.153 309.0);
Tailwind
colors: {
  custom: {
    50: '#8a5fa2',
    500: '#571c7b',
    950: '#000000',
  },
}
SCSS
$custom: #571c7b;
$custom-light: #8a5fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#571c7b",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 277.263,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36942,
    "c": 0.15341,
    "h": 309
  },
  "luminance": 0.04287
}

Semantic roles & 50–950 ramp

primary
#571C7B
secondary
#6CAF44
accent
#E64280
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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