#561988#561988

#561988 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.170 H 303.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#561988
RGBrgb(86, 25, 136)
HSLhsl(273, 69%, 32%)
HSVhsv(273, 82%, 53%)
CMYKcmyk(36.8%, 81.6%, 0%, 46.7%)
CIE-LABlab(25.11, 47.51, -49.41)
CIE-LCHlch(25.11, 68.55, 313.88°)
OKLaboklab(37.61% 0.0945 -0.1409)
OKLCHoklch(37.61% 0.17 303.9)
XYZxyz(8.6283, 4.4513, 23.6924)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561988 #4B8819
analogous
#1F1988 #561988 #881983
triadic
#561988 #885619 #198856
tetradic
#561988 #881F19 #4B8819 #198388
square
#561988 #881F19 #4B8819 #198388
split-complementary
#561988 #838819 #19881F
monochromatic
#150621 #350F54 #561988 #7723BC #9540DC

Accessibility & contrast

On white

11.11
#561988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#561988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561988
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561988#FFFFFF#000000##FFFFFF
##5619881.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561988;
/* rgb */ color: rgb(86, 25, 136);
/* oklch */ color: oklch(37.6% 0.170 303.9);
Tailwind
colors: {
  custom: {
    50: '#8b5eac',
    500: '#561988',
    950: '#000000',
  },
}
SCSS
$custom: #561988;
$custom-light: #8b5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#561988",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 272.973,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37608,
    "c": 0.16971,
    "h": 303.9
  },
  "luminance": 0.04451
}

Semantic roles & 50–950 ramp

primary
#561988
secondary
#78BB41
accent
#EC3C8B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561988

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

Preview Lab → · Contrast checker → · Palette generator →

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