#561778#561778

#561778 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.156 H 310.2°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#561778
RGBrgb(86, 23, 120)
HSLhsl(279, 68%, 28%)
HSVhsv(279, 81%, 47%)
CMYKcmyk(28.3%, 80.8%, 0%, 52.9%)
CIE-LABlab(23.50, 44.53, -41.93)
CIE-LCHlch(23.50, 61.17, 316.72°)
OKLaboklab(36.06% 0.1004 -0.1189)
OKLCHoklch(36.06% 0.156 310.2)
XYZxyz(7.5336, 3.9475, 18.1307)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561778 #397817
analogous
#251778 #561778 #781769
triadic
#561778 #785617 #177856
tetradic
#561778 #782517 #397817 #176978
square
#561778 #782517 #397817 #176978
split-complementary
#561778 #697817 #177825
monochromatic
#12051A #310D45 #561778 #7B21AB #9E32D8

Accessibility & contrast

On white

11.74
#561778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#561778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561778
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561778#FFFFFF#000000##FFFFFF
##5617781.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357B
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#512F47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #561778;
/* rgb */ color: rgb(86, 23, 120);
/* oklch */ color: oklch(36.1% 0.156 310.2);
Tailwind
colors: {
  custom: {
    50: '#8a5ca0',
    500: '#561778',
    950: '#000000',
  },
}
SCSS
$custom: #561778;
$custom-light: #8a5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#561778",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 278.969,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36059,
    "c": 0.15567,
    "h": 310.2
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#561778
secondary
#65AD3E
accent
#EB3D7A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #561778

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

Preview Lab → · Contrast checker → · Palette generator →

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