#561980#561980

#561980 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.162 H 306.8°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#561980
RGBrgb(86, 25, 128)
HSLhsl(276, 67%, 30%)
HSVhsv(276, 80%, 50%)
CMYKcmyk(32.8%, 80.5%, 0%, 49.8%)
CIE-LABlab(24.43, 45.61, -45.50)
CIE-LCHlch(24.43, 64.43, 315.07°)
OKLaboklab(36.92% 0.0967 -0.1294)
OKLCHoklch(36.92% 0.162 306.8)
XYZxyz(8.0808, 4.2323, 20.8091)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561980 #438019
analogous
#231980 #561980 #801976
triadic
#561980 #805619 #198056
tetradic
#561980 #802319 #438019 #197680
square
#561980 #802319 #438019 #197680
split-complementary
#561980 #768019 #198023
monochromatic
#11051A #340F4D #561980 #7823B3 #983BD9

Accessibility & contrast

On white

11.37
#561980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561980
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561980#FFFFFF#000000##FFFFFF
##5619801.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#4F334C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561980;
/* rgb */ color: rgb(86, 25, 128);
/* oklch */ color: oklch(36.9% 0.162 306.8);
Tailwind
colors: {
  custom: {
    50: '#8a5ea6',
    500: '#561980',
    950: '#000000',
  },
}
SCSS
$custom: #561980;
$custom-light: #8a5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#561980",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 275.534,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.36916,
    "c": 0.16159,
    "h": 306.8
  },
  "luminance": 0.04232
}

Semantic roles & 50–950 ramp

primary
#561980
secondary
#70B441
accent
#EA3E84
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561980

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

Preview Lab → · Contrast checker → · Palette generator →

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