#561981#561981

#561981 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.163 H 306.4°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#561981
RGBrgb(86, 25, 129)
HSLhsl(275, 68%, 30%)
HSVhsv(275, 81%, 51%)
CMYKcmyk(33.3%, 80.6%, 0%, 49.4%)
CIE-LABlab(24.51, 45.85, -46.00)
CIE-LCHlch(24.51, 64.95, 314.91°)
OKLaboklab(37% 0.0965 -0.1309)
OKLCHoklch(37% 0.163 306.4)
XYZxyz(8.1470, 4.2588, 21.1575)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561981 #448119
analogous
#221981 #561981 #811978
triadic
#561981 #815619 #198156
tetradic
#561981 #812219 #448119 #197881
square
#561981 #812219 #448119 #197881
split-complementary
#561981 #788119 #198122
monochromatic
#12051A #340F4E #561981 #7823B4 #983BD9

Accessibility & contrast

On white

11.34
#561981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#561981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561981
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561981#FFFFFF#000000##FFFFFF
##5619811.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003884
Deuteranopia (green-blind)
#003A7F
Tritanopia (blue-blind)
#4E344D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561981;
/* rgb */ color: rgb(86, 25, 129);
/* oklch */ color: oklch(37.0% 0.163 306.4);
Tailwind
colors: {
  custom: {
    50: '#8a5ea6',
    500: '#561981',
    950: '#000000',
  },
}
SCSS
$custom: #561981;
$custom-light: #8a5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#561981",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 275.192,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37001,
    "c": 0.16261,
    "h": 306.4
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#561981
secondary
#71B541
accent
#EA3D85
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561981

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

Preview Lab → · Contrast checker → · Palette generator →

#561981 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva