#561F78#561F78

#561F78 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.146 H 309.2°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#561F78
RGBrgb(86, 31, 120)
HSLhsl(277, 59%, 30%)
HSVhsv(277, 74%, 47%)
CMYKcmyk(28.3%, 74.2%, 0%, 52.9%)
CIE-LABlab(24.69, 41.14, -40.01)
CIE-LCHlch(24.69, 57.39, 315.80°)
OKLaboklab(36.9% 0.0924 -0.1133)
OKLCHoklch(36.9% 0.146 309.2)
XYZxyz(7.7172, 4.3146, 18.1919)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F78 #41781F
analogous
#2A1F78 #561F78 #781F6D
triadic
#561F78 #78561F #1F7856
tetradic
#561F78 #782A1F #41781F #1F6D78
square
#561F78 #782A1F #41781F #1F6D78
split-complementary
#561F78 #6D781F #1F782A
monochromatic
#110618 #331247 #561F78 #792CA9 #9943CE

Accessibility & contrast

On white

11.27
#561F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#561F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F78
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F78#FFFFFF#000000##FFFFFF
##561F781.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#0A3B76
Tritanopia (blue-blind)
#513349
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561f78;
/* rgb */ color: rgb(86, 31, 120);
/* oklch */ color: oklch(36.9% 0.146 309.2);
Tailwind
colors: {
  custom: {
    50: '#8960a0',
    500: '#561f78',
    950: '#000000',
  },
}
SCSS
$custom: #561f78;
$custom-light: #8960a0;
$custom-dark: #000000;
JSON
{
  "hex": "#561f78",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 277.079,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36899,
    "c": 0.14623,
    "h": 309.2
  },
  "luminance": 0.04314
}

Semantic roles & 50–950 ramp

primary
#561F78
secondary
#6EAB47
accent
#E24681
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #561F78

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

Preview Lab → · Contrast checker → · Palette generator →

#561F78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva