#561F8D#561F8D

#561F8D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.169 H 301.4°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#561F8D
RGBrgb(86, 31, 141)
HSLhsl(270, 64%, 34%)
HSVhsv(270, 78%, 55%)
CMYKcmyk(39%, 78%, 0%, 44.7%)
CIE-LABlab(26.39, 46.29, -50.44)
CIE-LCHlch(26.39, 68.46, 312.55°)
OKLaboklab(38.64% 0.088 -0.144)
OKLCHoklch(38.64% 0.169 301.4)
XYZxyz(9.1343, 4.8814, 25.6551)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F8D #568D1F
analogous
#1F1F8D #561F8D #8D1F8D
triadic
#561F8D #8D561F #1F8D56
tetradic
#561F8D #8D1F1F #568D1F #1F8D8D
square
#561F8D #8D1F1F #568D1F #1F8D8D
split-complementary
#561F8D #8D8D1F #1F8D1F
monochromatic
#190929 #37145B #561F8D #752ABF #934ED8

Accessibility & contrast

On white

10.63
#561F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#561F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F8D
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F8D#FFFFFF#000000##FFFFFF
##561F8D1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#4A3C55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #561f8d;
/* rgb */ color: rgb(86, 31, 141);
/* oklch */ color: oklch(38.6% 0.169 301.4);
Tailwind
colors: {
  custom: {
    50: '#8b61af',
    500: '#561f8d',
    950: '#000000',
  },
}
SCSS
$custom: #561f8d;
$custom-light: #8b61af;
$custom-dark: #000000;
JSON
{
  "hex": "#561f8d",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 270,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38641,
    "c": 0.16875,
    "h": 301.4
  },
  "luminance": 0.04881
}

Semantic roles & 50–950 ramp

primary
#561F8D
secondary
#84BB4D
accent
#E74194
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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