#561E97#561E97

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

Color values

HEX#561E97
RGBrgb(86, 30, 151)
HSLhsl(268, 67%, 35%)
HSVhsv(268, 80%, 59%)
CMYKcmyk(43%, 80.1%, 0%, 40.8%)
CIE-LABlab(27.13, 49.23, -55.40)
CIE-LCHlch(27.13, 74.11, 311.62°)
OKLaboklab(39.43% 0.086 -0.1586)
OKLCHoklch(39.43% 0.18 298.5)
XYZxyz(9.8865, 5.1412, 29.7436)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561E97 #5F971E
analogous
#1E2297 #561E97 #931E97
triadic
#561E97 #97561E #1E9756
tetradic
#561E97 #971E22 #5F971E #1E9793
square
#561E97 #971E22 #5F971E #1E9793
split-complementary
#561E97 #97931E #22971E
monochromatic
#1C0A31 #391464 #561E97 #7328CA #9353DD

Accessibility & contrast

On white

10.35
#561E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561E97
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561E97#FFFFFF#000000##FFFFFF
##561E971.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#463F5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #561e97;
/* rgb */ color: rgb(86, 30, 151);
/* oklch */ color: oklch(39.4% 0.180 298.5);
Tailwind
colors: {
  custom: {
    50: '#8c61b7',
    500: '#561e97',
    950: '#000000',
  },
}
SCSS
$custom: #561e97;
$custom-light: #8c61b7;
$custom-dark: #000000;
JSON
{
  "hex": "#561e97",
  "rgb": {
    "r": 86,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 267.769,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3943,
    "c": 0.18039,
    "h": 298.5
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #561E97

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

Preview Lab → · Contrast checker → · Palette generator →

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