#561984#561984

#561984 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.166 H 305.3°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#561984
RGBrgb(86, 25, 132)
HSLhsl(274, 68%, 31%)
HSVhsv(274, 81%, 52%)
CMYKcmyk(34.8%, 81.1%, 0%, 48.2%)
CIE-LABlab(24.76, 46.56, -47.47)
CIE-LCHlch(24.76, 66.49, 314.44°)
OKLaboklab(37.26% 0.0957 -0.1352)
OKLCHoklch(37.26% 0.166 305.3)
XYZxyz(8.3493, 4.3397, 22.2231)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561984 #478419
analogous
#211984 #561984 #84197C
triadic
#561984 #845619 #198456
tetradic
#561984 #842119 #478419 #197C84
square
#561984 #842119 #478419 #197C84
split-complementary
#561984 #7C8419 #198421
monochromatic
#13061D #340F51 #561984 #7823B7 #973DDA

Accessibility & contrast

On white

11.24
#561984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#561984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561984
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561984#FFFFFF#000000##FFFFFF
##5619841.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#4D354F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561984;
/* rgb */ color: rgb(86, 25, 132);
/* oklch */ color: oklch(37.3% 0.166 305.3);
Tailwind
colors: {
  custom: {
    50: '#8b5ea9',
    500: '#561984',
    950: '#000000',
  },
}
SCSS
$custom: #561984;
$custom-light: #8b5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#561984",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 274.206,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37259,
    "c": 0.16565,
    "h": 305.3
  },
  "luminance": 0.0434
}

Semantic roles & 50–950 ramp

primary
#561984
secondary
#74B841
accent
#EB3D88
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561984

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

Preview Lab → · Contrast checker → · Palette generator →

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