#561F95#561F95

#561F95 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.177 H 298.9°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#561F95
RGBrgb(86, 31, 149)
HSLhsl(268, 66%, 35%)
HSVhsv(268, 79%, 58%)
CMYKcmyk(42.3%, 79.2%, 0%, 41.6%)
CIE-LABlab(27.10, 48.31, -54.23)
CIE-LCHlch(27.10, 72.63, 311.69°)
OKLaboklab(39.35% 0.0858 -0.1551)
OKLCHoklch(39.35% 0.177 298.9)
XYZxyz(9.7512, 5.1282, 28.9040)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F95 #5E951F
analogous
#1F2395 #561F95 #911F95
triadic
#561F95 #95561F #1F9556
tetradic
#561F95 #951F23 #5E951F #1F9591
square
#561F95 #951F23 #5E951F #1F9591
split-complementary
#561F95 #95911F #23951F
monochromatic
#1C0A30 #391462 #561F95 #732AC8 #9353DB

Accessibility & contrast

On white

10.37
#561F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561F95
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F95#FFFFFF#000000##FFFFFF
##561F951.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561f95;
/* rgb */ color: rgb(86, 31, 149);
/* oklch */ color: oklch(39.4% 0.177 298.9);
Tailwind
colors: {
  custom: {
    50: '#8c61b5',
    500: '#561f95',
    950: '#000000',
  },
}
SCSS
$custom: #561f95;
$custom-light: #8c61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#561f95",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 267.966,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3935,
    "c": 0.17728,
    "h": 298.9
  },
  "luminance": 0.05128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #561F95

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

Preview Lab → · Contrast checker → · Palette generator →

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