#561989#561989

#561989 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.171 H 303.5°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#561989
RGBrgb(86, 25, 137)
HSLhsl(273, 69%, 32%)
HSVhsv(273, 82%, 54%)
CMYKcmyk(37.2%, 81.8%, 0%, 46.3%)
CIE-LABlab(25.20, 47.76, -49.90)
CIE-LCHlch(25.20, 69.07, 313.74°)
OKLaboklab(37.7% 0.0942 -0.1424)
OKLCHoklch(37.7% 0.171 303.5)
XYZxyz(8.6997, 4.4798, 24.0684)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561989 #4C8919
analogous
#1E1989 #561989 #891984
triadic
#561989 #895619 #198956
tetradic
#561989 #891E19 #4C8919 #198489
square
#561989 #891E19 #4C8919 #198489
split-complementary
#561989 #848919 #19891E
monochromatic
#150621 #361055 #561989 #7622BD #9540DC

Accessibility & contrast

On white

11.08
#561989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#561989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561989
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561989#FFFFFF#000000##FFFFFF
##5619891.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#4C3751
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #561989;
/* rgb */ color: rgb(86, 25, 137);
/* oklch */ color: oklch(37.7% 0.171 303.5);
Tailwind
colors: {
  custom: {
    50: '#8b5eac',
    500: '#561989',
    950: '#000000',
  },
}
SCSS
$custom: #561989;
$custom-light: #8b5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#561989",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 272.679,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37697,
    "c": 0.17073,
    "h": 303.5
  },
  "luminance": 0.0448
}

Semantic roles & 50–950 ramp

primary
#561989
secondary
#79BC41
accent
#EC3C8C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561989

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

Preview Lab → · Contrast checker → · Palette generator →

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