#561CB4#561CB4

#561CB4 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 42.0% C 0.212 H 291.4°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#561CB4
RGBrgb(86, 28, 180)
HSLhsl(263, 73%, 41%)
HSVhsv(263, 84%, 71%)
CMYKcmyk(52.2%, 84.4%, 0%, 29.4%)
CIE-LABlab(29.67, 57.33, -68.77)
CIE-LCHlch(29.67, 89.53, 309.82°)
OKLaboklab(42.03% 0.0773 -0.1977)
OKLCHoklch(42.03% 0.212 291.4)
XYZxyz(12.4889, 6.1037, 43.6913)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561CB4 #7AB41C
analogous
#1C2EB4 #561CB4 #A21CB4
triadic
#561CB4 #B4561C #1CB456
tetradic
#561CB4 #B41C2E #7AB41C #1CB4A2
square
#561CB4 #B41C2E #7AB41C #1CB4A2
split-complementary
#561CB4 #B4A21C #2EB41C
monochromatic
#230C4A #3D147F #561CB4 #722FDF #9664E7

Accessibility & contrast

On white

9.46
#561CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#561CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561CB4
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561CB4#FFFFFF#000000##FFFFFF
##561CB41.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#344B6B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #561cb4;
/* rgb */ color: rgb(86, 28, 180);
/* oklch */ color: oklch(42.0% 0.212 291.4);
Tailwind
colors: {
  custom: {
    50: '#9062cc',
    500: '#561cb4',
    950: '#000000',
  },
}
SCSS
$custom: #561cb4;
$custom-light: #9062cc;
$custom-dark: #000000;
JSON
{
  "hex": "#561cb4",
  "rgb": {
    "r": 86,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 262.895,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42031,
    "c": 0.21228,
    "h": 291.4
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#561CB4
secondary
#A3CC60
accent
#F038AA
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0614
muted
#7E7A82

Preview Lab

Preview with #561CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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