#561E96#561E96

#561E96 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.179 H 298.8°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#561E96
RGBrgb(86, 30, 150)
HSLhsl(268, 67%, 35%)
HSVhsv(268, 80%, 59%)
CMYKcmyk(42.7%, 80%, 0%, 41.2%)
CIE-LABlab(27.04, 48.98, -54.94)
CIE-LCHlch(27.04, 73.60, 311.72°)
OKLaboklab(39.34% 0.0863 -0.1572)
OKLCHoklch(39.34% 0.179 298.8)
XYZxyz(9.8056, 5.1088, 29.3177)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561E96 #5E961E
analogous
#1E2296 #561E96 #921E96
triadic
#561E96 #96561E #1E9656
tetradic
#561E96 #961E22 #5E961E #1E9692
square
#561E96 #961E22 #5E961E #1E9692
split-complementary
#561E96 #96921E #22961E
monochromatic
#1C0A30 #391463 #561E96 #7328C9 #9352DC

Accessibility & contrast

On white

10.39
#561E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#561E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561E96
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561E96#FFFFFF#000000##FFFFFF
##561E961.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#463F5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #561e96;
/* rgb */ color: rgb(86, 30, 150);
/* oklch */ color: oklch(39.3% 0.179 298.8);
Tailwind
colors: {
  custom: {
    50: '#8c61b6',
    500: '#561e96',
    950: '#000000',
  },
}
SCSS
$custom: #561e96;
$custom-light: #8c61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#561e96",
  "rgb": {
    "r": 86,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 268,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39339,
    "c": 0.17934,
    "h": 298.8
  },
  "luminance": 0.05109
}

Semantic roles & 50–950 ramp

primary
#561E96
secondary
#8CBF50
accent
#EA3E9A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #561E96

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

Preview Lab → · Contrast checker → · Palette generator →

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