#561A8B#561A8B

#561A8B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.172 H 302.7°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#561A8B
RGBrgb(86, 26, 139)
HSLhsl(272, 68%, 32%)
HSVhsv(272, 81%, 55%)
CMYKcmyk(38.1%, 81.3%, 0%, 45.5%)
CIE-LABlab(25.51, 47.85, -50.64)
CIE-LCHlch(25.51, 69.67, 313.38°)
OKLaboklab(37.97% 0.0928 -0.1446)
OKLCHoklch(37.97% 0.172 302.7)
XYZxyz(8.8662, 4.5813, 24.8383)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A8B #4F8B1A
analogous
#1D1A8B #561A8B #8B1A88
triadic
#561A8B #8B561A #1A8B56
tetradic
#561A8B #8B1D1A #4F8B1A #1A888B
square
#561A8B #8B1D1A #4F8B1A #1A888B
split-complementary
#561A8B #888B1A #1A8B1D
monochromatic
#160724 #361057 #561A8B #7624BF #9443DC

Accessibility & contrast

On white

10.96
#561A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#561A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A8B
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A8B#FFFFFF#000000##FFFFFF
##561A8B1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#4B3953
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #561a8b;
/* rgb */ color: rgb(86, 26, 139);
/* oklch */ color: oklch(38.0% 0.172 302.7);
Tailwind
colors: {
  custom: {
    50: '#8b5fae',
    500: '#561a8b',
    950: '#000000',
  },
}
SCSS
$custom: #561a8b;
$custom-light: #8b5fae;
$custom-dark: #000000;
JSON
{
  "hex": "#561a8b",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 271.858,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37966,
    "c": 0.1718,
    "h": 302.7
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#561A8B
secondary
#7DBD44
accent
#EB3C8E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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