#561A76#561A76

#561A76 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.150 H 310.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#561A76
RGBrgb(86, 26, 118)
HSLhsl(279, 64%, 28%)
HSVhsv(279, 78%, 46%)
CMYKcmyk(27.1%, 78%, 0%, 53.7%)
CIE-LABlab(23.76, 42.88, -40.24)
CIE-LCHlch(23.76, 58.80, 316.82°)
OKLaboklab(36.19% 0.098 -0.114)
OKLCHoklch(36.19% 0.15 310.7)
XYZxyz(7.4765, 4.0254, 17.5192)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A76 #3A761A
analogous
#281A76 #561A76 #761A68
triadic
#561A76 #76561A #1A7656
tetradic
#561A76 #76281A #3A761A #1A6876
square
#561A76 #76281A #3A761A #1A6876
split-complementary
#561A76 #68761A #1A7628
monochromatic
#120619 #310F44 #561A76 #7B25A8 #9D37D3

Accessibility & contrast

On white

11.63
#561A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#561A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A76
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A76#FFFFFF#000000##FFFFFF
##561A761.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#063974
Tritanopia (blue-blind)
#523047
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #561a76;
/* rgb */ color: rgb(86, 26, 118);
/* oklch */ color: oklch(36.2% 0.150 310.7);
Tailwind
colors: {
  custom: {
    50: '#895d9e',
    500: '#561a76',
    950: '#000000',
  },
}
SCSS
$custom: #561a76;
$custom-light: #895d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#561a76",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 279.13,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36191,
    "c": 0.15031,
    "h": 310.7
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#561A76
secondary
#66AB41
accent
#E7417B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #561A76

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

Preview Lab → · Contrast checker → · Palette generator →

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