#561481#561481

#561481 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.167 H 306.9°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#561481
RGBrgb(86, 20, 129)
HSLhsl(276, 73%, 29%)
HSVhsv(276, 84%, 51%)
CMYKcmyk(33.3%, 84.5%, 0%, 49.4%)
CIE-LABlab(23.88, 47.67, -47.02)
CIE-LCHlch(23.88, 66.96, 315.39°)
OKLaboklab(36.56% 0.1005 -0.1339)
OKLCHoklch(36.56% 0.167 306.9)
XYZxyz(8.0495, 4.0638, 21.1250)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561481 #3F8114
analogous
#201481 #561481 #811476
triadic
#561481 #815614 #148156
tetradic
#561481 #812014 #3F8114 #147681
square
#561481 #812014 #3F8114 #147681
split-complementary
#561481 #768114 #148120
monochromatic
#12041A #330C4C #561481 #791CB6 #9A30DF

Accessibility & contrast

On white

11.58
#561481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#561481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561481
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561481#FFFFFF#000000##FFFFFF
##5614811.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#00397F
Tritanopia (blue-blind)
#4E324C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #561481;
/* rgb */ color: rgb(86, 20, 129);
/* oklch */ color: oklch(36.6% 0.167 306.9);
Tailwind
colors: {
  custom: {
    50: '#8b5ca6',
    500: '#561481',
    950: '#000000',
  },
}
SCSS
$custom: #561481;
$custom-light: #8b5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#561481",
  "rgb": {
    "r": 86,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 276.33,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36563,
    "c": 0.16741,
    "h": 306.9
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#561481
secondary
#6BB63B
accent
#F03881
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #561481

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

Preview Lab → · Contrast checker → · Palette generator →

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