#561479#561479

#561479 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.160 H 310.1°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#561479
RGBrgb(86, 20, 121)
HSLhsl(279, 72%, 28%)
HSVhsv(279, 83%, 47%)
CMYKcmyk(28.9%, 83.5%, 0%, 52.5%)
CIE-LABlab(23.20, 45.85, -43.05)
CIE-LCHlch(23.20, 62.90, 316.81°)
OKLaboklab(35.88% 0.1028 -0.1222)
OKLCHoklch(35.88% 0.16 310.1)
XYZxyz(7.5384, 3.8594, 18.4333)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561479 #377914
analogous
#241479 #561479 #791469
triadic
#561479 #795614 #147956
tetradic
#561479 #792414 #377914 #146979
square
#561479 #792414 #377914 #146979
split-complementary
#561479 #697914 #147924
monochromatic
#13041A #310B44 #561479 #7B1DAE #9F2BDC

Accessibility & contrast

On white

11.85
#561479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#561479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561479
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561479#FFFFFF#000000##FFFFFF
##5614791.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#512E47
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #561479;
/* rgb */ color: rgb(86, 20, 121);
/* oklch */ color: oklch(35.9% 0.160 310.1);
Tailwind
colors: {
  custom: {
    50: '#8a5ba0',
    500: '#561479',
    950: '#000000',
  },
}
SCSS
$custom: #561479;
$custom-light: #8a5ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#561479",
  "rgb": {
    "r": 86,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 279.208,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35877,
    "c": 0.15967,
    "h": 310.1
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#561479
secondary
#62AF3A
accent
#EE3978
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #561479

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

Preview Lab → · Contrast checker → · Palette generator →

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