#561785#561785

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

Color values

HEX#561785
RGBrgb(86, 23, 133)
HSLhsl(274, 71%, 31%)
HSVhsv(274, 83%, 52%)
CMYKcmyk(35.3%, 82.7%, 0%, 47.8%)
CIE-LABlab(24.59, 47.55, -48.38)
CIE-LCHlch(24.59, 67.84, 314.50°)
OKLaboklab(37.17% 0.097 -0.1379)
OKLCHoklch(37.17% 0.169 305.1)
XYZxyz(8.3768, 4.2847, 22.5715)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561785 #468517
analogous
#1F1785 #561785 #85177D
triadic
#561785 #855617 #178556
tetradic
#561785 #851F17 #468517 #177D85
square
#561785 #851F17 #468517 #177D85
split-complementary
#561785 #7D8517 #17851F
monochromatic
#13051D #340E51 #561785 #7820B9 #973ADD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##561785#FFFFFF#000000##FFFFFF
##5617851.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)
#003988
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#4D354F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561785;
/* rgb */ color: rgb(86, 23, 133);
/* oklch */ color: oklch(37.2% 0.169 305.1);
Tailwind
colors: {
  custom: {
    50: '#8b5da9',
    500: '#561785',
    950: '#000000',
  },
}
SCSS
$custom: #561785;
$custom-light: #8b5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#561785",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 274.364,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37165,
    "c": 0.1686,
    "h": 305.1
  },
  "luminance": 0.04285
}

Semantic roles & 50–950 ramp

primary
#561785
secondary
#73B93F
accent
#ED3B87
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561785

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

Preview Lab → · Contrast checker → · Palette generator →

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