#561B89#561B89

#561B89 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.169 H 303.3°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#561B89
RGBrgb(86, 27, 137)
HSLhsl(272, 67%, 32%)
HSVhsv(272, 80%, 54%)
CMYKcmyk(37.2%, 80.3%, 0%, 46.3%)
CIE-LABlab(25.47, 46.97, -49.46)
CIE-LCHlch(25.47, 68.21, 313.53°)
OKLaboklab(37.89% 0.0926 -0.1411)
OKLCHoklch(37.89% 0.169 303.3)
XYZxyz(8.7440, 4.5684, 24.0832)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B89 #4E891B
analogous
#1F1B89 #561B89 #891B85
triadic
#561B89 #89561B #1B8956
tetradic
#561B89 #891F1B #4E891B #1B8589
square
#561B89 #891F1B #4E891B #1B8589
split-complementary
#561B89 #85891B #1B891F
monochromatic
#160723 #361156 #561B89 #7625BC #9544DA

Accessibility & contrast

On white

10.97
#561B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#561B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B89
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B89#FFFFFF#000000##FFFFFF
##561B891.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561b89;
/* rgb */ color: rgb(86, 27, 137);
/* oklch */ color: oklch(37.9% 0.169 303.3);
Tailwind
colors: {
  custom: {
    50: '#8b5fac',
    500: '#561b89',
    950: '#000000',
  },
}
SCSS
$custom: #561b89;
$custom-light: #8b5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#561b89",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 272.182,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37885,
    "c": 0.16874,
    "h": 303.3
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#561B89
secondary
#7CBC44
accent
#EA3E8E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561B89

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

Preview Lab → · Contrast checker → · Palette generator →

#561B89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva