#571176#571176

#571176 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.5% C 0.160 H 312.2°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#571176
RGBrgb(87, 17, 118)
HSLhsl(282, 75%, 26%)
HSVhsv(282, 86%, 46%)
CMYKcmyk(26.3%, 85.6%, 0%, 53.7%)
CIE-LABlab(22.78, 46.36, -41.82)
CIE-LCHlch(22.78, 62.44, 317.95°)
OKLaboklab(35.54% 0.1073 -0.1185)
OKLCHoklch(35.54% 0.16 312.2)
XYZxyz(7.4003, 3.7354, 17.4672)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571176 #307611
analogous
#251176 #571176 #761163
triadic
#571176 #765711 #117657
tetradic
#571176 #762511 #307611 #116376
square
#571176 #762511 #307611 #116376
split-complementary
#571176 #637611 #117625
monochromatic
#14041B #300941 #571176 #7E19AB #A522DF

Accessibility & contrast

On white

12.02
#571176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#571176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571176
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571176#FFFFFF#000000##FFFFFF
##5711761.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#003874
Tritanopia (blue-blind)
#532B45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571176;
/* rgb */ color: rgb(87, 17, 118);
/* oklch */ color: oklch(35.5% 0.160 312.2);
Tailwind
colors: {
  custom: {
    50: '#8b5a9e',
    500: '#571176',
    950: '#000000',
  },
}
SCSS
$custom: #571176;
$custom-light: #8b5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#571176",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 281.584,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35537,
    "c": 0.15989,
    "h": 312.2
  },
  "luminance": 0.03735
}

Semantic roles & 50–950 ramp

primary
#571176
secondary
#5AAD36
accent
#F13670
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571176

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

Preview Lab → · Contrast checker → · Palette generator →

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