#561789#561789

#561789 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.173 H 303.7°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#561789
RGBrgb(86, 23, 137)
HSLhsl(273, 71%, 31%)
HSVhsv(273, 83%, 54%)
CMYKcmyk(37.2%, 83.2%, 0%, 46.3%)
CIE-LABlab(24.94, 48.49, -50.31)
CIE-LCHlch(24.94, 69.88, 313.95°)
OKLaboklab(37.52% 0.0958 -0.1436)
OKLCHoklch(37.52% 0.173 303.7)
XYZxyz(8.6584, 4.3974, 24.0547)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561789 #4A8917
analogous
#1D1789 #561789 #891783
triadic
#561789 #895617 #178956
tetradic
#561789 #891D17 #4A8917 #178389
square
#561789 #891D17 #4A8917 #178389
split-complementary
#561789 #838917 #17891D
monochromatic
#140520 #350E55 #561789 #7720BD #963CDE

Accessibility & contrast

On white

11.17
#561789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#561789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561789
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561789#FFFFFF#000000##FFFFFF
##5617891.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#4C3751
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561789;
/* rgb */ color: rgb(86, 23, 137);
/* oklch */ color: oklch(37.5% 0.173 303.7);
Tailwind
colors: {
  custom: {
    50: '#8b5dac',
    500: '#561789',
    950: '#000000',
  },
}
SCSS
$custom: #561789;
$custom-light: #8b5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#561789",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 273.158,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3752,
    "c": 0.17259,
    "h": 303.7
  },
  "luminance": 0.04397
}

Semantic roles & 50–950 ramp

primary
#561789
secondary
#77BD3F
accent
#EE3A8A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561789

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

Preview Lab → · Contrast checker → · Palette generator →

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