#571A76#571A76

#571A76 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.151 H 311.3°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#571A76
RGBrgb(87, 26, 118)
HSLhsl(280, 64%, 28%)
HSVhsv(280, 78%, 46%)
CMYKcmyk(26.3%, 78%, 0%, 53.7%)
CIE-LABlab(23.91, 43.08, -39.97)
CIE-LCHlch(23.91, 58.77, 317.14°)
OKLaboklab(36.33% 0.0994 -0.1132)
OKLCHoklch(36.33% 0.151 311.3)
XYZxyz(7.5693, 4.0732, 17.5235)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A76 #39761A
analogous
#291A76 #571A76 #761A67
triadic
#571A76 #76571A #1A7657
tetradic
#571A76 #76291A #39761A #1A6776
square
#571A76 #76291A #39761A #1A6776
split-complementary
#571A76 #67761A #1A7629
monochromatic
#120619 #320F44 #571A76 #7C25A8 #9F37D3

Accessibility & contrast

On white

11.57
#571A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#571A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A76
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A76#FFFFFF#000000##FFFFFF
##571A761.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#093A74
Tritanopia (blue-blind)
#532F47
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #571a76;
/* rgb */ color: rgb(87, 26, 118);
/* oklch */ color: oklch(36.3% 0.151 311.3);
Tailwind
colors: {
  custom: {
    50: '#8a5e9e',
    500: '#571a76',
    950: '#000000',
  },
}
SCSS
$custom: #571a76;
$custom-light: #8a5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#571a76",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 279.783,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36334,
    "c": 0.15064,
    "h": 311.3
  },
  "luminance": 0.04073
}

Semantic roles & 50–950 ramp

primary
#571A76
secondary
#65AB41
accent
#E74179
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571A76

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

Preview Lab → · Contrast checker → · Palette generator →

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