#561782#561782

#561782 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.166 H 306.2°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#561782
RGBrgb(86, 23, 130)
HSLhsl(275, 70%, 30%)
HSVhsv(275, 82%, 51%)
CMYKcmyk(33.8%, 82.3%, 0%, 49%)
CIE-LABlab(24.33, 46.84, -46.92)
CIE-LCHlch(24.33, 66.30, 314.95°)
OKLaboklab(36.9% 0.0979 -0.1336)
OKLCHoklch(36.9% 0.166 306.2)
XYZxyz(8.1725, 4.2030, 21.4955)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561782 #438217
analogous
#201782 #561782 #821779
triadic
#561782 #825617 #178256
tetradic
#561782 #822017 #438217 #177982
square
#561782 #822017 #438217 #177982
split-complementary
#561782 #798217 #178220
monochromatic
#11051A #340E4E #561782 #7820B6 #9838DC

Accessibility & contrast

On white

11.41
#561782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#561782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561782
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561782#FFFFFF#000000##FFFFFF
##5617821.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003A80
Tritanopia (blue-blind)
#4E334D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561782;
/* rgb */ color: rgb(86, 23, 130);
/* oklch */ color: oklch(36.9% 0.166 306.2);
Tailwind
colors: {
  custom: {
    50: '#8b5da7',
    500: '#561782',
    950: '#000000',
  },
}
SCSS
$custom: #561782;
$custom-light: #8b5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#561782",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 130
  },
  "hsl": {
    "h": 275.327,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.36904,
    "c": 0.16561,
    "h": 306.2
  },
  "luminance": 0.04203
}

Semantic roles & 50–950 ramp

primary
#561782
secondary
#70B63E
accent
#ED3B84
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561782

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

Preview Lab → · Contrast checker → · Palette generator →

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