#561F8A#561F8A

#561F8A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.166 H 302.4°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#561F8A
RGBrgb(86, 31, 138)
HSLhsl(271, 63%, 33%)
HSVhsv(271, 78%, 54%)
CMYKcmyk(37.7%, 77.5%, 0%, 45.9%)
CIE-LABlab(26.14, 45.54, -48.99)
CIE-LCHlch(26.14, 66.89, 312.91°)
OKLaboklab(38.38% 0.0888 -0.1397)
OKLCHoklch(38.38% 0.166 302.4)
XYZxyz(8.9141, 4.7934, 24.4954)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F8A #538A1F
analogous
#201F8A #561F8A #8A1F88
triadic
#561F8A #8A561F #1F8A56
tetradic
#561F8A #8A201F #538A1F #1F888A
square
#561F8A #8A201F #538A1F #1F888A
split-complementary
#561F8A #888A1F #1F8A20
monochromatic
#180926 #371458 #561F8A #752ABC #944CD7

Accessibility & contrast

On white

10.72
#561F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#561F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F8A
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F8A#FFFFFF#000000##FFFFFF
##561F8A1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#4B3A53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #561f8a;
/* rgb */ color: rgb(86, 31, 138);
/* oklch */ color: oklch(38.4% 0.166 302.4);
Tailwind
colors: {
  custom: {
    50: '#8b61ad',
    500: '#561f8a',
    950: '#000000',
  },
}
SCSS
$custom: #561f8a;
$custom-light: #8b61ad;
$custom-dark: #000000;
JSON
{
  "hex": "#561f8a",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 270.841,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38381,
    "c": 0.16553,
    "h": 302.4
  },
  "luminance": 0.04793
}

Semantic roles & 50–950 ramp

primary
#561F8A
secondary
#81BA4B
accent
#E64192
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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