#571F7B#571F7B

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

Color values

HEX#571F7B
RGBrgb(87, 31, 123)
HSLhsl(277, 60%, 30%)
HSVhsv(277, 75%, 48%)
CMYKcmyk(29.3%, 74.8%, 0%, 51.8%)
CIE-LABlab(25.06, 42.07, -41.29)
CIE-LCHlch(25.06, 58.95, 315.54°)
OKLaboklab(37.27% 0.0934 -0.1171)
OKLCHoklch(37.27% 0.15 308.6)
XYZxyz(7.9949, 4.4364, 19.1702)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F7B #437B1F
analogous
#291F7B #571F7B #7B1F71
triadic
#571F7B #7B571F #1F7B57
tetradic
#571F7B #7B291F #437B1F #1F717B
square
#571F7B #7B291F #437B1F #1F717B
split-complementary
#571F7B #717B1F #1F7B29
monochromatic
#120619 #34134A #571F7B #7A2BAC #9944D0

Accessibility & contrast

On white

11.13
#571F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#571F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F7B
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F7B#FFFFFF#000000##FFFFFF
##571F7B1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571f7b;
/* rgb */ color: rgb(87, 31, 123);
/* oklch */ color: oklch(37.3% 0.150 308.6);
Tailwind
colors: {
  custom: {
    50: '#8a60a2',
    500: '#571f7b',
    950: '#000000',
  },
}
SCSS
$custom: #571f7b;
$custom-light: #8a60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#571f7b",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 276.522,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37272,
    "c": 0.14975,
    "h": 308.6
  },
  "luminance": 0.04436
}

Semantic roles & 50–950 ramp

primary
#571F7B
secondary
#70AE48
accent
#E34583
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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