#571476#571476

#571476 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.8% C 0.157 H 311.9°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#571476
RGBrgb(87, 20, 118)
HSLhsl(281, 71%, 27%)
HSVhsv(281, 83%, 46%)
CMYKcmyk(26.3%, 83.1%, 0%, 53.7%)
CIE-LABlab(23.12, 45.37, -41.26)
CIE-LCHlch(23.12, 61.33, 317.72°)
OKLaboklab(35.78% 0.1049 -0.1169)
OKLCHoklch(35.78% 0.157 311.9)
XYZxyz(7.4500, 3.8348, 17.4838)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571476 #337614
analogous
#261476 #571476 #761464
triadic
#571476 #765714 #147657
tetradic
#571476 #762614 #337614 #146476
square
#571476 #762614 #337614 #146476
split-complementary
#571476 #647614 #147626
monochromatic
#13041A #300B42 #571476 #7E1DAA #A32ADB

Accessibility & contrast

On white

11.88
#571476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#571476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571476
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571476#FFFFFF#000000##FFFFFF
##5714761.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#003874
Tritanopia (blue-blind)
#532D45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571476;
/* rgb */ color: rgb(87, 20, 118);
/* oklch */ color: oklch(35.8% 0.157 311.9);
Tailwind
colors: {
  custom: {
    50: '#8a5b9e',
    500: '#571476',
    950: '#000000',
  },
}
SCSS
$custom: #571476;
$custom-light: #8a5b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#571476",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 281.02,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35775,
    "c": 0.1571,
    "h": 311.9
  },
  "luminance": 0.03835
}

Semantic roles & 50–950 ramp

primary
#571476
secondary
#5EAC3A
accent
#EE3A73
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571476

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

Preview Lab → · Contrast checker → · Palette generator →

#571476 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva