#561F8F#561F8F

#561F8F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.171 H 300.8°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#561F8F
RGBrgb(86, 31, 143)
HSLhsl(269, 64%, 34%)
HSVhsv(269, 78%, 56%)
CMYKcmyk(39.9%, 78.3%, 0%, 43.9%)
CIE-LABlab(26.57, 46.79, -51.39)
CIE-LCHlch(26.57, 69.50, 312.32°)
OKLaboklab(38.82% 0.0875 -0.1468)
OKLCHoklch(38.82% 0.171 300.8)
XYZxyz(9.2844, 4.9415, 26.4459)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F8F #588F1F
analogous
#1F208F #561F8F #8E1F8F
triadic
#561F8F #8F561F #1F8F56
tetradic
#561F8F #8F1F20 #588F1F #1F8F8E
square
#561F8F #8F1F20 #588F1F #1F8F8E
split-complementary
#561F8F #8F8E1F #208F1F
monochromatic
#1A092A #38145D #561F8F #742AC1 #934FD9

Accessibility & contrast

On white

10.56
#561F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#561F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F8F
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F8F#FFFFFF#000000##FFFFFF
##561F8F1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#493D56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #561f8f;
/* rgb */ color: rgb(86, 31, 143);
/* oklch */ color: oklch(38.8% 0.171 300.8);
Tailwind
colors: {
  custom: {
    50: '#8b61b1',
    500: '#561f8f',
    950: '#000000',
  },
}
SCSS
$custom: #561f8f;
$custom-light: #8b61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#561f8f",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 269.464,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38816,
    "c": 0.17088,
    "h": 300.8
  },
  "luminance": 0.04942
}

Semantic roles & 50–950 ramp

primary
#561F8F
secondary
#86BC4E
accent
#E74095
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #561F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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