#561979#561979

#561979 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.154 H 309.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#561979
RGBrgb(86, 25, 121)
HSLhsl(278, 66%, 29%)
HSVhsv(278, 79%, 47%)
CMYKcmyk(28.9%, 79.3%, 0%, 52.5%)
CIE-LABlab(23.85, 43.98, -42.00)
CIE-LCHlch(23.85, 60.81, 316.32°)
OKLaboklab(36.33% 0.0984 -0.1191)
OKLCHoklch(36.33% 0.155 309.5)
XYZxyz(7.6359, 4.0543, 18.4658)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561979 #3C7919
analogous
#261979 #561979 #79196C
triadic
#561979 #795619 #197956
tetradic
#561979 #792619 #3C7919 #196C79
square
#561979 #792619 #3C7919 #196C79
split-complementary
#561979 #6C7919 #197926
monochromatic
#120519 #320F46 #561979 #7A23AC #9C37D6

Accessibility & contrast

On white

11.60
#561979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561979
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561979#FFFFFF#000000##FFFFFF
##5619791.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003A77
Tritanopia (blue-blind)
#513048
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #561979;
/* rgb */ color: rgb(86, 25, 121);
/* oklch */ color: oklch(36.3% 0.154 309.5);
Tailwind
colors: {
  custom: {
    50: '#8a5da0',
    500: '#561979',
    950: '#000000',
  },
}
SCSS
$custom: #561979;
$custom-light: #8a5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#561979",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 278.125,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36333,
    "c": 0.1545,
    "h": 309.5
  },
  "luminance": 0.04054
}

Semantic roles & 50–950 ramp

primary
#561979
secondary
#68AE40
accent
#E93F7D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #561979

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

Preview Lab → · Contrast checker → · Palette generator →

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