#571C76#571C76

#571C76 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.148 H 311.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#571C76
RGBrgb(87, 28, 118)
HSLhsl(279, 62%, 29%)
HSVhsv(279, 76%, 46%)
CMYKcmyk(26.3%, 76.3%, 0%, 53.7%)
CIE-LABlab(24.21, 42.23, -39.49)
CIE-LCHlch(24.21, 57.82, 316.92°)
OKLaboklab(36.54% 0.0974 -0.1118)
OKLCHoklch(36.54% 0.148 311.1)
XYZxyz(7.6151, 4.1649, 17.5388)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C76 #3B761C
analogous
#2A1C76 #571C76 #761C68
triadic
#571C76 #76571C #1C7657
tetradic
#571C76 #762A1C #3B761C #1C6876
square
#571C76 #762A1C #3B761C #1C6876
split-complementary
#571C76 #68761C #1C762A
monochromatic
#120619 #331045 #571C76 #7B28A7 #9D3CD1

Accessibility & contrast

On white

11.46
#571C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#571C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C76
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C76#FFFFFF#000000##FFFFFF
##571C761.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#0C3B74
Tritanopia (blue-blind)
#533047
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571c76;
/* rgb */ color: rgb(87, 28, 118);
/* oklch */ color: oklch(36.5% 0.148 311.1);
Tailwind
colors: {
  custom: {
    50: '#8a5f9e',
    500: '#571c76',
    950: '#000000',
  },
}
SCSS
$custom: #571c76;
$custom-light: #8a5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#571c76",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 279.333,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36544,
    "c": 0.14825,
    "h": 311.1
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#571C76
secondary
#67AA44
accent
#E5437B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571C76

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

Preview Lab → · Contrast checker → · Palette generator →

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