#561A9D#561A9D

#561A9D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.190 H 297.2°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#561A9D
RGBrgb(86, 26, 157)
HSLhsl(267, 72%, 36%)
HSVhsv(267, 83%, 62%)
CMYKcmyk(45.2%, 83.4%, 0%, 38.4%)
CIE-LABlab(27.16, 52.27, -59.03)
CIE-LCHlch(27.16, 78.85, 311.53°)
OKLaboklab(39.62% 0.087 -0.1692)
OKLCHoklch(39.62% 0.19 297.2)
XYZxyz(10.2913, 5.1513, 32.3438)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A9D #619D1A
analogous
#1A1F9D #561A9D #971A9D
triadic
#561A9D #9D561A #1A9D56
tetradic
#561A9D #9D1A1F #619D1A #1A9D97
square
#561A9D #9D1A1F #619D1A #1A9D97
split-complementary
#561A9D #9D971A #1F9D1A
monochromatic
#1C0934 #391168 #561A9D #7323D2 #934FE2

Accessibility & contrast

On white

10.34
#561A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561A9D
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A9D#FFFFFF#000000##FFFFFF
##561A9D1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#43415D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #561a9d;
/* rgb */ color: rgb(86, 26, 157);
/* oklch */ color: oklch(39.6% 0.190 297.2);
Tailwind
colors: {
  custom: {
    50: '#8d60bb',
    500: '#561a9d',
    950: '#000000',
  },
}
SCSS
$custom: #561a9d;
$custom-light: #8d60bb;
$custom-dark: #000000;
JSON
{
  "hex": "#561a9d",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 157
  },
  "hsl": {
    "h": 267.481,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39621,
    "c": 0.19023,
    "h": 297.2
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

primary
#561A9D
secondary
#8EC44E
accent
#EE399B
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #561A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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