#561F84#561F84

#561F84 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.159 H 304.5°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#561F84
RGBrgb(86, 31, 132)
HSLhsl(273, 62%, 32%)
HSVhsv(273, 77%, 52%)
CMYKcmyk(34.8%, 76.5%, 0%, 48.2%)
CIE-LABlab(25.64, 44.05, -46.05)
CIE-LCHlch(25.64, 63.73, 313.73°)
OKLaboklab(37.87% 0.0901 -0.1311)
OKLCHoklch(37.87% 0.159 304.5)
XYZxyz(8.4916, 4.6244, 22.2706)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F84 #4D841F
analogous
#231F84 #561F84 #841F80
triadic
#561F84 #84561F #1F8456
tetradic
#561F84 #84231F #4D841F #1F8084
square
#561F84 #84231F #4D841F #1F8084
split-complementary
#561F84 #80841F #1F8423
monochromatic
#150821 #361352 #561F84 #762BB6 #9549D4

Accessibility & contrast

On white

10.91
#561F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#561F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F84
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F84#FFFFFF#000000##FFFFFF
##561F841.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#4D3850
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561f84;
/* rgb */ color: rgb(86, 31, 132);
/* oklch */ color: oklch(37.9% 0.159 304.5);
Tailwind
colors: {
  custom: {
    50: '#8a61a9',
    500: '#561f84',
    950: '#000000',
  },
}
SCSS
$custom: #561f84;
$custom-light: #8a61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#561f84",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 272.673,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37872,
    "c": 0.15911,
    "h": 304.5
  },
  "luminance": 0.04624
}

Semantic roles & 50–950 ramp

primary
#561F84
secondary
#7AB748
accent
#E5438D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561F84

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

Preview Lab → · Contrast checker → · Palette generator →

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