#561176#561176

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

Color values

HEX#561176
RGBrgb(86, 17, 118)
HSLhsl(281, 75%, 26%)
HSVhsv(281, 86%, 46%)
CMYKcmyk(27.1%, 85.6%, 0%, 53.7%)
CIE-LABlab(22.61, 46.19, -42.09)
CIE-LCHlch(22.61, 62.49, 317.65°)
OKLaboklab(35.39% 0.1059 -0.1194)
OKLCHoklch(35.39% 0.16 311.6)
XYZxyz(7.3076, 3.6875, 17.4628)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561176 #317611
analogous
#241176 #561176 #761164
triadic
#561176 #765611 #117656
tetradic
#561176 #762411 #317611 #116476
square
#561176 #762411 #317611 #116476
split-complementary
#561176 #647611 #117624
monochromatic
#13041B #2F0941 #561176 #7D19AB #A322DF

Accessibility & contrast

On white

12.09
#561176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#561176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561176
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561176#FFFFFF#000000##FFFFFF
##5611761.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561176;
/* rgb */ color: rgb(86, 17, 118);
/* oklch */ color: oklch(35.4% 0.160 311.6);
Tailwind
colors: {
  custom: {
    50: '#8a5a9e',
    500: '#561176',
    950: '#000000',
  },
}
SCSS
$custom: #561176;
$custom-light: #8a5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#561176",
  "rgb": {
    "r": 86,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 280.99,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35387,
    "c": 0.15957,
    "h": 311.6
  },
  "luminance": 0.03687
}

Semantic roles & 50–950 ramp

primary
#561176
secondary
#5CAD36
accent
#F13672
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561176

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

Preview Lab → · Contrast checker → · Palette generator →

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