#561978#561978

#561978 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.153 H 310.0°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#561978
RGBrgb(86, 25, 120)
HSLhsl(279, 66%, 28%)
HSVhsv(279, 79%, 47%)
CMYKcmyk(28.3%, 79.2%, 0%, 52.9%)
CIE-LABlab(23.77, 43.75, -41.49)
CIE-LCHlch(23.77, 60.29, 316.52°)
OKLaboklab(36.25% 0.0986 -0.1177)
OKLCHoklch(36.25% 0.153 310)
XYZxyz(7.5749, 4.0299, 18.1445)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561978 #3B7819
analogous
#261978 #561978 #78196A
triadic
#561978 #785619 #197856
tetradic
#561978 #782619 #3B7819 #196A78
square
#561978 #782619 #3B7819 #196A78
split-complementary
#561978 #6A7819 #197826
monochromatic
#120519 #320E45 #561978 #7A24AB #9C36D5

Accessibility & contrast

On white

11.63
#561978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561978
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561978#FFFFFF#000000##FFFFFF
##5619781.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#513048
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #561978;
/* rgb */ color: rgb(86, 25, 120);
/* oklch */ color: oklch(36.3% 0.153 310.0);
Tailwind
colors: {
  custom: {
    50: '#8a5da0',
    500: '#561978',
    950: '#000000',
  },
}
SCSS
$custom: #561978;
$custom-light: #8a5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#561978",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 278.526,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36251,
    "c": 0.15349,
    "h": 310
  },
  "luminance": 0.0403
}

Semantic roles & 50–950 ramp

primary
#561978
secondary
#67AD40
accent
#E83F7C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #561978

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

Preview Lab → · Contrast checker → · Palette generator →

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