#561D79#561D79

#561D79 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.150 H 309.0°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#561D79
RGBrgb(86, 29, 121)
HSLhsl(277, 61%, 29%)
HSVhsv(277, 76%, 47%)
CMYKcmyk(28.9%, 76%, 0%, 52.5%)
CIE-LABlab(24.44, 42.29, -41.04)
CIE-LCHlch(24.44, 58.92, 315.86°)
OKLaboklab(36.75% 0.0944 -0.1163)
OKLCHoklch(36.75% 0.15 309)
XYZxyz(7.7276, 4.2378, 18.4963)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D79 #40791D
analogous
#281D79 #561D79 #791D6E
triadic
#561D79 #79561D #1D7956
tetradic
#561D79 #79281D #40791D #1D6E79
square
#561D79 #79281D #40791D #1D6E79
split-complementary
#561D79 #6E791D #1D7928
monochromatic
#120619 #331148 #561D79 #7929AA #9A3FD1

Accessibility & contrast

On white

11.37
#561D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#561D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561D79
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561D79#FFFFFF#000000##FFFFFF
##561D791.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#043B77
Tritanopia (blue-blind)
#513249
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561d79;
/* rgb */ color: rgb(86, 29, 121);
/* oklch */ color: oklch(36.8% 0.150 309.0);
Tailwind
colors: {
  custom: {
    50: '#895fa0',
    500: '#561d79',
    950: '#000000',
  },
}
SCSS
$custom: #561d79;
$custom-light: #895fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#561d79",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 277.174,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36751,
    "c": 0.14982,
    "h": 309
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#561D79
secondary
#6CAD45
accent
#E44381
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #561D79

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

Preview Lab → · Contrast checker → · Palette generator →

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