#571B76#571B76

#571B76 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.149 H 311.2°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#571B76
RGBrgb(87, 27, 118)
HSLhsl(280, 63%, 28%)
HSVhsv(280, 77%, 46%)
CMYKcmyk(26.3%, 77.1%, 0%, 53.7%)
CIE-LABlab(24.06, 42.66, -39.74)
CIE-LCHlch(24.06, 58.30, 317.03°)
OKLaboklab(36.44% 0.0984 -0.1125)
OKLCHoklch(36.44% 0.149 311.2)
XYZxyz(7.5918, 4.1183, 17.5310)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B76 #3A761B
analogous
#291B76 #571B76 #761B67
triadic
#571B76 #76571B #1B7657
tetradic
#571B76 #76291B #3A761B #1B6776
square
#571B76 #76291B #3A761B #1B6776
split-complementary
#571B76 #67761B #1B7629
monochromatic
#120619 #321044 #571B76 #7C26A8 #9E3AD2

Accessibility & contrast

On white

11.52
#571B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#571B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B76
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B76#FFFFFF#000000##FFFFFF
##571B761.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#0A3A74
Tritanopia (blue-blind)
#533047
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #571b76;
/* rgb */ color: rgb(87, 27, 118);
/* oklch */ color: oklch(36.4% 0.149 311.2);
Tailwind
colors: {
  custom: {
    50: '#8a5e9e',
    500: '#571b76',
    950: '#000000',
  },
}
SCSS
$custom: #571b76;
$custom-light: #8a5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#571b76",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 279.56,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36438,
    "c": 0.14945,
    "h": 311.2
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#571B76
secondary
#66AA42
accent
#E6427A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571B76

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

Preview Lab → · Contrast checker → · Palette generator →

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