#561B85#561B85

#561B85 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.165 H 304.7°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#561B85
RGBrgb(86, 27, 133)
HSLhsl(273, 66%, 31%)
HSVhsv(273, 80%, 52%)
CMYKcmyk(35.3%, 79.7%, 0%, 47.8%)
CIE-LABlab(25.12, 46.01, -47.51)
CIE-LCHlch(25.12, 66.14, 314.08°)
OKLaboklab(37.54% 0.0937 -0.1354)
OKLCHoklch(37.54% 0.165 304.7)
XYZxyz(8.4624, 4.4558, 22.6000)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B85 #4A851B
analogous
#211B85 #561B85 #851B7F
triadic
#561B85 #85561B #1B8556
tetradic
#561B85 #85211B #4A851B #1B7F85
square
#561B85 #85211B #4A851B #1B7F85
split-complementary
#561B85 #7F851B #1B8521
monochromatic
#14061F #351152 #561B85 #7725B8 #9642D9

Accessibility & contrast

On white

11.10
#561B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#561B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B85
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B85#FFFFFF#000000##FFFFFF
##561B851.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#4D3650
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #561b85;
/* rgb */ color: rgb(86, 27, 133);
/* oklch */ color: oklch(37.5% 0.165 304.7);
Tailwind
colors: {
  custom: {
    50: '#8b5fa9',
    500: '#561b85',
    950: '#000000',
  },
}
SCSS
$custom: #561b85;
$custom-light: #8b5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#561b85",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 273.396,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37538,
    "c": 0.16461,
    "h": 304.7
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

primary
#561B85
secondary
#77B844
accent
#E93F8A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561B85

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

Preview Lab → · Contrast checker → · Palette generator →

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