#561982#561982

#561982 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.164 H 306.0°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#561982
RGBrgb(86, 25, 130)
HSLhsl(275, 68%, 30%)
HSVhsv(275, 81%, 51%)
CMYKcmyk(33.8%, 80.8%, 0%, 49%)
CIE-LABlab(24.59, 46.08, -46.49)
CIE-LCHlch(24.59, 65.46, 314.75°)
OKLaboklab(37.09% 0.0962 -0.1323)
OKLCHoklch(37.09% 0.164 306)
XYZxyz(8.2138, 4.2855, 21.5092)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561982 #458219
analogous
#211982 #561982 #821979
triadic
#561982 #825619 #198256
tetradic
#561982 #822119 #458219 #197982
square
#561982 #822119 #458219 #197982
split-complementary
#561982 #798219 #198221
monochromatic
#12051B #340F4F #561982 #7823B5 #973CD9

Accessibility & contrast

On white

11.31
#561982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#561982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561982
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561982#FFFFFF#000000##FFFFFF
##5619821.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561982;
/* rgb */ color: rgb(86, 25, 130);
/* oklch */ color: oklch(37.1% 0.164 306.0);
Tailwind
colors: {
  custom: {
    50: '#8a5ea7',
    500: '#561982',
    950: '#000000',
  },
}
SCSS
$custom: #561982;
$custom-light: #8a5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#561982",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 274.857,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37087,
    "c": 0.16361,
    "h": 306
  },
  "luminance": 0.04285
}

Semantic roles & 50–950 ramp

primary
#561982
secondary
#72B641
accent
#EB3D86
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561982

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

Preview Lab → · Contrast checker → · Palette generator →

#561982 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva