#561D82#561D82

#561D82 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.159 H 305.5°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#561D82
RGBrgb(86, 29, 130)
HSLhsl(274, 64%, 31%)
HSVhsv(274, 78%, 51%)
CMYKcmyk(33.8%, 77.7%, 0%, 49%)
CIE-LABlab(25.16, 44.44, -45.56)
CIE-LCHlch(25.16, 63.65, 314.29°)
OKLaboklab(37.49% 0.0925 -0.1296)
OKLCHoklch(37.49% 0.159 305.5)
XYZxyz(8.3055, 4.4689, 21.5398)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D82 #49821D
analogous
#231D82 #561D82 #821D7B
triadic
#561D82 #82561D #1D8256
tetradic
#561D82 #82231D #49821D #1D7B82
square
#561D82 #82231D #49821D #1D7B82
split-complementary
#561D82 #7B821D #1D8223
monochromatic
#14071E #351250 #561D82 #7728B4 #9644D5

Accessibility & contrast

On white

11.09
#561D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#561D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561D82
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561D82#FFFFFF#000000##FFFFFF
##561D821.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#4E364E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #561d82;
/* rgb */ color: rgb(86, 29, 130);
/* oklch */ color: oklch(37.5% 0.159 305.5);
Tailwind
colors: {
  custom: {
    50: '#8a60a7',
    500: '#561d82',
    950: '#000000',
  },
}
SCSS
$custom: #561d82;
$custom-light: #8a60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#561d82",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 273.861,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37488,
    "c": 0.15929,
    "h": 305.5
  },
  "luminance": 0.04469
}

Semantic roles & 50–950 ramp

primary
#561D82
secondary
#76B546
accent
#E74189
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561D82

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

Preview Lab → · Contrast checker → · Palette generator →

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