#561A8A#561A8A

#561A8A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.171 H 303.0°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#561A8A
RGBrgb(86, 26, 138)
HSLhsl(272, 68%, 32%)
HSVhsv(272, 81%, 54%)
CMYKcmyk(37.7%, 81.2%, 0%, 45.9%)
CIE-LABlab(25.42, 47.61, -50.16)
CIE-LCHlch(25.42, 69.16, 313.51°)
OKLaboklab(37.88% 0.0931 -0.1431)
OKLCHoklch(37.88% 0.171 303)
XYZxyz(8.7935, 4.5522, 24.4552)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A8A #4E8A1A
analogous
#1E1A8A #561A8A #8A1A86
triadic
#561A8A #8A561A #1A8A56
tetradic
#561A8A #8A1E1A #4E8A1A #1A868A
square
#561A8A #8A1E1A #4E8A1A #1A868A
split-complementary
#561A8A #868A1A #1A8A1E
monochromatic
#160723 #361057 #561A8A #7624BD #9543DC

Accessibility & contrast

On white

10.99
#561A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#561A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A8A
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A8A#FFFFFF#000000##FFFFFF
##561A8A1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#4B3852
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #561a8a;
/* rgb */ color: rgb(86, 26, 138);
/* oklch */ color: oklch(37.9% 0.171 303.0);
Tailwind
colors: {
  custom: {
    50: '#8b5fad',
    500: '#561a8a',
    950: '#000000',
  },
}
SCSS
$custom: #561a8a;
$custom-light: #8b5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#561a8a",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 272.143,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37878,
    "c": 0.17077,
    "h": 303
  },
  "luminance": 0.04552
}

Semantic roles & 50–950 ramp

primary
#561A8A
secondary
#7CBD43
accent
#EB3D8E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561A8A

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

Preview Lab → · Contrast checker → · Palette generator →

#561A8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva