#561B78#561B78

#561B78 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.151 H 309.7°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#561B78
RGBrgb(86, 27, 120)
HSLhsl(278, 63%, 29%)
HSVhsv(278, 78%, 47%)
CMYKcmyk(28.3%, 77.5%, 0%, 52.9%)
CIE-LABlab(24.06, 42.92, -41.02)
CIE-LCHlch(24.06, 59.37, 316.30°)
OKLaboklab(36.46% 0.0966 -0.1163)
OKLCHoklch(36.46% 0.151 309.7)
XYZxyz(7.6192, 4.1185, 18.1592)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B78 #3D781B
analogous
#281B78 #561B78 #781B6C
triadic
#561B78 #78561B #1B7856
tetradic
#561B78 #78281B #3D781B #1B6C78
square
#561B78 #78281B #3D781B #1B6C78
split-complementary
#561B78 #6C781B #1B7828
monochromatic
#120619 #321046 #561B78 #7A26AA #9B3BD3

Accessibility & contrast

On white

11.52
#561B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#561B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B78
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B78#FFFFFF#000000##FFFFFF
##561B781.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#033A76
Tritanopia (blue-blind)
#513148
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #561b78;
/* rgb */ color: rgb(86, 27, 120);
/* oklch */ color: oklch(36.5% 0.151 309.7);
Tailwind
colors: {
  custom: {
    50: '#8a5ea0',
    500: '#561b78',
    950: '#000000',
  },
}
SCSS
$custom: #561b78;
$custom-light: #8a5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#561b78",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 278.065,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36455,
    "c": 0.15118,
    "h": 309.7
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#561B78
secondary
#69AC43
accent
#E6417E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #561B78

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

Preview Lab → · Contrast checker → · Palette generator →

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