#561A97#561A97

#561A97 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.184 H 298.9°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#561A97
RGBrgb(86, 26, 151)
HSLhsl(269, 71%, 35%)
HSVhsv(269, 83%, 59%)
CMYKcmyk(43%, 82.8%, 0%, 40.8%)
CIE-LABlab(26.60, 50.79, -56.28)
CIE-LCHlch(26.60, 75.81, 312.06°)
OKLaboklab(39.06% 0.0891 -0.1611)
OKLCHoklch(39.06% 0.184 298.9)
XYZxyz(9.7916, 4.9514, 29.7120)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A97 #5B971A
analogous
#1A1D97 #561A97 #951A97
triadic
#561A97 #97561A #1A9756
tetradic
#561A97 #971A1D #5B971A #1A9795
square
#561A97 #971A1D #5B971A #1A9795
split-complementary
#561A97 #97951A #1D971A
monochromatic
#1B082F #381163 #561A97 #7423CB #934BE0

Accessibility & contrast

On white

10.55
#561A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#561A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A97
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A97#FFFFFF#000000##FFFFFF
##561A971.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#463E5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #561a97;
/* rgb */ color: rgb(86, 26, 151);
/* oklch */ color: oklch(39.1% 0.184 298.9);
Tailwind
colors: {
  custom: {
    50: '#8d5fb7',
    500: '#561a97',
    950: '#000000',
  },
}
SCSS
$custom: #561a97;
$custom-light: #8d5fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#561a97",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 268.8,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39057,
    "c": 0.18409,
    "h": 298.9
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#561A97
secondary
#89C24B
accent
#ED3A97
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #561A97

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

Preview Lab → · Contrast checker → · Palette generator →

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