#561A9E#561A9E

#561A9E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.191 H 296.9°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#561A9E
RGBrgb(86, 26, 158)
HSLhsl(267, 72%, 36%)
HSVhsv(267, 84%, 62%)
CMYKcmyk(45.6%, 83.5%, 0%, 38%)
CIE-LABlab(27.26, 52.52, -59.48)
CIE-LCHlch(27.26, 79.35, 311.44°)
OKLaboklab(39.72% 0.0867 -0.1705)
OKLCHoklch(39.72% 0.191 296.9)
XYZxyz(10.3771, 5.1856, 32.7953)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A9E #629E1A
analogous
#1A209E #561A9E #981A9E
triadic
#561A9E #9E561A #1A9E56
tetradic
#561A9E #9E1A20 #629E1A #1A9E98
square
#561A9E #9E1A20 #629E1A #1A9E98
split-complementary
#561A9E #9E981A #209E1A
monochromatic
#1D0935 #391169 #561A9E #7323D3 #9350E2

Accessibility & contrast

On white

10.31
#561A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#561A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A9E
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A9E#FFFFFF#000000##FFFFFF
##561A9E1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#42415E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #561a9e;
/* rgb */ color: rgb(86, 26, 158);
/* oklch */ color: oklch(39.7% 0.191 296.9);
Tailwind
colors: {
  custom: {
    50: '#8e60bc',
    500: '#561a9e',
    950: '#000000',
  },
}
SCSS
$custom: #561a9e;
$custom-light: #8e60bc;
$custom-dark: #000000;
JSON
{
  "hex": "#561a9e",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 267.273,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39716,
    "c": 0.19125,
    "h": 296.9
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#561A9E
secondary
#8FC54F
accent
#EE399C
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #561A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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