#561A7E#561A7E

#561A7E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.158 H 307.4°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#561A7E
RGBrgb(86, 26, 126)
HSLhsl(276, 66%, 30%)
HSVhsv(276, 79%, 49%)
CMYKcmyk(31.7%, 79.4%, 0%, 50.6%)
CIE-LABlab(24.40, 44.74, -44.28)
CIE-LCHlch(24.40, 62.95, 315.29°)
OKLaboklab(36.85% 0.0963 -0.1259)
OKLCHoklch(36.85% 0.158 307.4)
XYZxyz(7.9722, 4.2237, 20.1299)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A7E #427E1A
analogous
#241A7E #561A7E #7E1A74
triadic
#561A7E #7E561A #1A7E56
tetradic
#561A7E #7E241A #427E1A #1A747E
square
#561A7E #7E241A #427E1A #1A747E
split-complementary
#561A7E #747E1A #1A7E24
monochromatic
#110519 #33104B #561A7E #7924B1 #993CD7

Accessibility & contrast

On white

11.38
#561A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#561A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A7E
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A7E#FFFFFF#000000##FFFFFF
##561A7E1.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#4F334B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561a7e;
/* rgb */ color: rgb(86, 26, 126);
/* oklch */ color: oklch(36.8% 0.158 307.4);
Tailwind
colors: {
  custom: {
    50: '#8a5ea4',
    500: '#561a7e',
    950: '#000000',
  },
}
SCSS
$custom: #561a7e;
$custom-light: #8a5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#561a7e",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 276,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36845,
    "c": 0.15849,
    "h": 307.4
  },
  "luminance": 0.04224
}

Semantic roles & 50–950 ramp

primary
#561A7E
secondary
#6FB242
accent
#E93F83
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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