#561A82#561A82

#561A82 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.163 H 305.9°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#561A82
RGBrgb(86, 26, 130)
HSLhsl(275, 67%, 31%)
HSVhsv(275, 80%, 51%)
CMYKcmyk(33.8%, 80%, 0%, 49%)
CIE-LABlab(24.73, 45.69, -46.27)
CIE-LCHlch(24.73, 65.02, 314.64°)
OKLaboklab(37.18% 0.0953 -0.1317)
OKLCHoklch(37.18% 0.163 305.9)
XYZxyz(8.2355, 4.3290, 21.5165)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A82 #46821A
analogous
#221A82 #561A82 #821A7A
triadic
#561A82 #82561A #1A8256
tetradic
#561A82 #82221A #46821A #1A7A82
square
#561A82 #82221A #46821A #1A7A82
split-complementary
#561A82 #7A821A #1A8222
monochromatic
#13061C #34104F #561A82 #7824B5 #973ED8

Accessibility & contrast

On white

11.26
#561A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#561A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A82
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A82#FFFFFF#000000##FFFFFF
##561A821.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#4E354E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561a82;
/* rgb */ color: rgb(86, 26, 130);
/* oklch */ color: oklch(37.2% 0.163 305.9);
Tailwind
colors: {
  custom: {
    50: '#8a5ea7',
    500: '#561a82',
    950: '#000000',
  },
}
SCSS
$custom: #561a82;
$custom-light: #8a5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#561a82",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 274.615,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37183,
    "c": 0.16258,
    "h": 305.9
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#561A82
secondary
#73B642
accent
#EA3E87
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561A82

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

Preview Lab → · Contrast checker → · Palette generator →

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