#561F8E#561F8E

#561F8E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.170 H 301.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#561F8E
RGBrgb(86, 31, 142)
HSLhsl(270, 64%, 34%)
HSVhsv(270, 78%, 56%)
CMYKcmyk(39.4%, 78.2%, 0%, 44.3%)
CIE-LABlab(26.48, 46.54, -50.92)
CIE-LCHlch(26.48, 68.98, 312.43°)
OKLaboklab(38.73% 0.0877 -0.1454)
OKLCHoklch(38.73% 0.17 301.1)
XYZxyz(9.2090, 4.9113, 26.0488)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F8E #578E1F
analogous
#1F1F8E #561F8E #8E1F8E
triadic
#561F8E #8E561F #1F8E56
tetradic
#561F8E #8E1F1F #578E1F #1F8E8E
square
#561F8E #8E1F1F #578E1F #1F8E8E
split-complementary
#561F8E #8E8E1F #1F8E1F
monochromatic
#19092A #38145C #561F8E #742AC0 #934FD9

Accessibility & contrast

On white

10.59
#561F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561F8E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F8E#FFFFFF#000000##FFFFFF
##561F8E1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#493C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #561f8e;
/* rgb */ color: rgb(86, 31, 142);
/* oklch */ color: oklch(38.7% 0.170 301.1);
Tailwind
colors: {
  custom: {
    50: '#8b61b0',
    500: '#561f8e',
    950: '#000000',
  },
}
SCSS
$custom: #561f8e;
$custom-light: #8b61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#561f8e",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 269.73,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38728,
    "c": 0.16981,
    "h": 301.1
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

primary
#561F8E
secondary
#85BB4D
accent
#E74195
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #561F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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