#561F8C#561F8C

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

Color values

HEX#561F8C
RGBrgb(86, 31, 140)
HSLhsl(270, 64%, 34%)
HSVhsv(270, 78%, 55%)
CMYKcmyk(38.6%, 77.9%, 0%, 45.1%)
CIE-LABlab(26.31, 46.04, -49.95)
CIE-LCHlch(26.31, 67.93, 312.67°)
OKLaboklab(38.55% 0.0882 -0.1426)
OKLCHoklch(38.55% 0.168 301.8)
XYZxyz(9.0602, 4.8518, 25.2650)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F8C #558C1F
analogous
#1F1F8C #561F8C #8C1F8B
triadic
#561F8C #8C561F #1F8C56
tetradic
#561F8C #8C1F1F #558C1F #1F8B8C
square
#561F8C #8C1F1F #558C1F #1F8B8C
split-complementary
#561F8C #8B8C1F #1F8C1F
monochromatic
#180928 #37145A #561F8C #752ABE #934ED8

Accessibility & contrast

On white

10.66
#561F8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#561F8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F8C
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F8C#FFFFFF#000000##FFFFFF
##561F8C1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#4A3B54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #561f8c;
/* rgb */ color: rgb(86, 31, 140);
/* oklch */ color: oklch(38.6% 0.168 301.8);
Tailwind
colors: {
  custom: {
    50: '#8b61ae',
    500: '#561f8c',
    950: '#000000',
  },
}
SCSS
$custom: #561f8c;
$custom-light: #8b61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#561f8c",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 140
  },
  "hsl": {
    "h": 270.275,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38554,
    "c": 0.16767,
    "h": 301.8
  },
  "luminance": 0.04852
}

Semantic roles & 50–950 ramp

primary
#561F8C
secondary
#83BB4C
accent
#E74193
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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