#561C82#561C82

#561C82 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.160 H 305.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#561C82
RGBrgb(86, 28, 130)
HSLhsl(274, 65%, 31%)
HSVhsv(274, 78%, 51%)
CMYKcmyk(33.8%, 78.5%, 0%, 49%)
CIE-LABlab(25.02, 44.87, -45.80)
CIE-LCHlch(25.02, 64.12, 314.41°)
OKLaboklab(37.38% 0.0935 -0.1304)
OKLCHoklch(37.38% 0.16 305.6)
XYZxyz(8.2814, 4.4207, 21.5318)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561C82 #48821C
analogous
#231C82 #561C82 #821C7B
triadic
#561C82 #82561C #1C8256
tetradic
#561C82 #82231C #48821C #1C7B82
square
#561C82 #82231C #48821C #1C7B82
split-complementary
#561C82 #7B821C #1C8223
monochromatic
#13061D #351150 #561C82 #7727B4 #9642D6

Accessibility & contrast

On white

11.15
#561C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#561C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561C82
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561C82#FFFFFF#000000##FFFFFF
##561C821.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561c82;
/* rgb */ color: rgb(86, 28, 130);
/* oklch */ color: oklch(37.4% 0.160 305.6);
Tailwind
colors: {
  custom: {
    50: '#8a5fa7',
    500: '#561c82',
    950: '#000000',
  },
}
SCSS
$custom: #561c82;
$custom-light: #8a5fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#561c82",
  "rgb": {
    "r": 86,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 274.118,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37383,
    "c": 0.16042,
    "h": 305.6
  },
  "luminance": 0.04421
}

Semantic roles & 50–950 ramp

primary
#561C82
secondary
#75B544
accent
#E84088
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561C82

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

Preview Lab → · Contrast checker → · Palette generator →

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