#561F79#561F79

#561F79 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.147 H 308.8°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#561F79
RGBrgb(86, 31, 121)
HSLhsl(277, 59%, 30%)
HSVhsv(277, 74%, 47%)
CMYKcmyk(28.9%, 74.4%, 0%, 52.5%)
CIE-LABlab(24.76, 41.38, -40.52)
CIE-LCHlch(24.76, 57.92, 315.60°)
OKLaboklab(36.98% 0.0922 -0.1148)
OKLCHoklch(36.98% 0.147 308.8)
XYZxyz(7.7782, 4.3390, 18.5132)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F79 #42791F
analogous
#291F79 #561F79 #791F6F
triadic
#561F79 #79561F #1F7956
tetradic
#561F79 #79291F #42791F #1F6F79
square
#561F79 #79291F #42791F #1F6F79
split-complementary
#561F79 #6F791F #1F7929
monochromatic
#110618 #331348 #561F79 #792BAA #9943CF

Accessibility & contrast

On white

11.24
#561F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#561F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F79
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F79#FFFFFF#000000##FFFFFF
##561F791.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#083B77
Tritanopia (blue-blind)
#51334A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561f79;
/* rgb */ color: rgb(86, 31, 121);
/* oklch */ color: oklch(37.0% 0.147 308.8);
Tailwind
colors: {
  custom: {
    50: '#8960a0',
    500: '#561f79',
    950: '#000000',
  },
}
SCSS
$custom: #561f79;
$custom-light: #8960a0;
$custom-dark: #000000;
JSON
{
  "hex": "#561f79",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 276.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36978,
    "c": 0.1473,
    "h": 308.8
  },
  "luminance": 0.04339
}

Semantic roles & 50–950 ramp

primary
#561F79
secondary
#6FAC47
accent
#E24582
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #561F79

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

Preview Lab → · Contrast checker → · Palette generator →

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