#571F76#571F76

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

Color values

HEX#571F76
RGBrgb(87, 31, 118)
HSLhsl(279, 58%, 29%)
HSVhsv(279, 74%, 46%)
CMYKcmyk(26.3%, 73.7%, 0%, 53.7%)
CIE-LABlab(24.68, 40.89, -38.73)
CIE-LCHlch(24.68, 56.32, 316.56°)
OKLaboklab(36.88% 0.0941 -0.1095)
OKLCHoklch(36.88% 0.144 310.7)
XYZxyz(7.6899, 4.3144, 17.5637)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F76 #3E761F
analogous
#2C1F76 #571F76 #761F6A
triadic
#571F76 #76571F #1F7657
tetradic
#571F76 #762C1F #3E761F #1F6A76
square
#571F76 #762C1F #3E761F #1F6A76
split-complementary
#571F76 #6A761F #1F762C
monochromatic
#120618 #331246 #571F76 #7B2CA6 #9C42CD

Accessibility & contrast

On white

11.27
#571F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571F76
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F76#FFFFFF#000000##FFFFFF
##571F761.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#113C74
Tritanopia (blue-blind)
#533248
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571f76;
/* rgb */ color: rgb(87, 31, 118);
/* oklch */ color: oklch(36.9% 0.144 310.7);
Tailwind
colors: {
  custom: {
    50: '#8a609e',
    500: '#571f76',
    950: '#000000',
  },
}
SCSS
$custom: #571f76;
$custom-light: #8a609e;
$custom-dark: #000000;
JSON
{
  "hex": "#571f76",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 278.621,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36882,
    "c": 0.14443,
    "h": 310.7
  },
  "luminance": 0.04314
}

Semantic roles & 50–950 ramp

primary
#571F76
secondary
#6AAA47
accent
#E2467E
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571F76

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

Preview Lab → · Contrast checker → · Palette generator →

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