#561780#561780

#561780 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.164 H 307.0°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#561780
RGBrgb(86, 23, 128)
HSLhsl(276, 70%, 30%)
HSVhsv(276, 82%, 50%)
CMYKcmyk(32.8%, 82%, 0%, 49.8%)
CIE-LABlab(24.16, 46.38, -45.93)
CIE-LCHlch(24.16, 65.28, 315.27°)
OKLaboklab(36.73% 0.0984 -0.1307)
OKLCHoklch(36.73% 0.164 307)
XYZxyz(8.0396, 4.1498, 20.7954)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561780 #418017
analogous
#221780 #561780 #801776
triadic
#561780 #805617 #178056
tetradic
#561780 #802217 #418017 #177680
square
#561780 #802217 #418017 #177680
split-complementary
#561780 #768017 #178022
monochromatic
#11051A #330E4C #561780 #7920B4 #9936DB

Accessibility & contrast

On white

11.48
#561780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#561780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561780
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561780#FFFFFF#000000##FFFFFF
##5617801.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#4F334C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #561780;
/* rgb */ color: rgb(86, 23, 128);
/* oklch */ color: oklch(36.7% 0.164 307.0);
Tailwind
colors: {
  custom: {
    50: '#8a5da6',
    500: '#561780',
    950: '#000000',
  },
}
SCSS
$custom: #561780;
$custom-light: #8a5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#561780",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 276,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36731,
    "c": 0.16362,
    "h": 307
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

primary
#561780
secondary
#6EB43E
accent
#EC3B82
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561780

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

Preview Lab → · Contrast checker → · Palette generator →

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