#561F97#561F97

#561F97 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.179 H 298.4°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#561F97
RGBrgb(86, 31, 151)
HSLhsl(268, 66%, 36%)
HSVhsv(268, 79%, 59%)
CMYKcmyk(43%, 79.5%, 0%, 40.8%)
CIE-LABlab(27.28, 48.81, -55.17)
CIE-LCHlch(27.28, 73.66, 311.50°)
OKLaboklab(39.53% 0.0852 -0.1579)
OKLCHoklch(39.53% 0.179 298.4)
XYZxyz(9.9122, 5.1926, 29.7522)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F97 #60971F
analogous
#1F2497 #561F97 #921F97
triadic
#561F97 #97561F #1F9756
tetradic
#561F97 #971F24 #60971F #1F9792
square
#561F97 #971F24 #60971F #1F9792
split-complementary
#561F97 #97921F #24971F
monochromatic
#1C0A31 #391564 #561F97 #7329CA #9354DC

Accessibility & contrast

On white

10.30
#561F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#561F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F97
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F97#FFFFFF#000000##FFFFFF
##561F971.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#46405B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #561f97;
/* rgb */ color: rgb(86, 31, 151);
/* oklch */ color: oklch(39.5% 0.179 298.4);
Tailwind
colors: {
  custom: {
    50: '#8c62b7',
    500: '#561f97',
    950: '#000000',
  },
}
SCSS
$custom: #561f97;
$custom-light: #8c62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#561f97",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 267.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3953,
    "c": 0.17941,
    "h": 298.4
  },
  "luminance": 0.05193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #561F97

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

Preview Lab → · Contrast checker → · Palette generator →

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