#561F96#561F96

#561F96 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.178 H 298.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#561F96
RGBrgb(86, 31, 150)
HSLhsl(268, 66%, 35%)
HSVhsv(268, 79%, 59%)
CMYKcmyk(42.7%, 79.3%, 0%, 41.2%)
CIE-LABlab(27.19, 48.56, -54.70)
CIE-LCHlch(27.19, 73.14, 311.60°)
OKLaboklab(39.44% 0.0855 -0.1565)
OKLCHoklch(39.44% 0.178 298.6)
XYZxyz(9.8313, 5.1603, 29.3263)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F96 #5F961F
analogous
#1F2396 #561F96 #911F96
triadic
#561F96 #96561F #1F9656
tetradic
#561F96 #961F23 #5F961F #1F9691
square
#561F96 #961F23 #5F961F #1F9691
split-complementary
#561F96 #96911F #23961F
monochromatic
#1C0A31 #391563 #561F96 #7329C9 #9354DC

Accessibility & contrast

On white

10.33
#561F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#561F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F96
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F96#FFFFFF#000000##FFFFFF
##561F961.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.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: #561f96;
/* rgb */ color: rgb(86, 31, 150);
/* oklch */ color: oklch(39.4% 0.178 298.6);
Tailwind
colors: {
  custom: {
    50: '#8c62b6',
    500: '#561f96',
    950: '#000000',
  },
}
SCSS
$custom: #561f96;
$custom-light: #8c62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#561f96",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 267.731,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3944,
    "c": 0.17834,
    "h": 298.6
  },
  "luminance": 0.0516
}

Semantic roles & 50–950 ramp

primary
#561F96
secondary
#8DBF52
accent
#E93F9A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #561F96

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

Preview Lab → · Contrast checker → · Palette generator →

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