#561977#561977

#561977 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.152 H 310.4°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#561977
RGBrgb(86, 25, 119)
HSLhsl(279, 65%, 28%)
HSVhsv(279, 79%, 47%)
CMYKcmyk(27.7%, 79%, 0%, 53.3%)
CIE-LABlab(23.69, 43.52, -40.98)
CIE-LCHlch(23.69, 59.78, 316.72°)
OKLaboklab(36.17% 0.0988 -0.1162)
OKLCHoklch(36.17% 0.152 310.4)
XYZxyz(7.5145, 4.0058, 17.8265)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561977 #3A7719
analogous
#271977 #561977 #771969
triadic
#561977 #775619 #197756
tetradic
#561977 #772719 #3A7719 #196977
square
#561977 #772719 #3A7719 #196977
split-complementary
#561977 #697719 #197727
monochromatic
#120519 #310E44 #561977 #7B24AA #9D36D5

Accessibility & contrast

On white

11.66
#561977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#561977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561977
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561977#FFFFFF#000000##FFFFFF
##5619771.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#023975
Tritanopia (blue-blind)
#512F47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #561977;
/* rgb */ color: rgb(86, 25, 119);
/* oklch */ color: oklch(36.2% 0.152 310.4);
Tailwind
colors: {
  custom: {
    50: '#8a5d9f',
    500: '#561977',
    950: '#000000',
  },
}
SCSS
$custom: #561977;
$custom-light: #8a5d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#561977",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 278.936,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3617,
    "c": 0.15248,
    "h": 310.4
  },
  "luminance": 0.04006
}

Semantic roles & 50–950 ramp

primary
#561977
secondary
#66AC40
accent
#E8407B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #561977

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

Preview Lab → · Contrast checker → · Palette generator →

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