#561A8E#561A8E

#561A8E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.175 H 301.7°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#561A8E
RGBrgb(86, 26, 142)
HSLhsl(271, 69%, 33%)
HSVhsv(271, 82%, 56%)
CMYKcmyk(39.4%, 81.7%, 0%, 44.3%)
CIE-LABlab(25.77, 48.58, -52.07)
CIE-LCHlch(25.77, 71.21, 313.01°)
OKLaboklab(38.23% 0.0919 -0.1487)
OKLCHoklch(38.23% 0.175 301.7)
XYZxyz(9.0884, 4.6702, 26.0086)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A8E #528E1A
analogous
#1C1A8E #561A8E #8E1A8C
triadic
#561A8E #8E561A #1A8E56
tetradic
#561A8E #8E1C1A #528E1A #1A8C8E
square
#561A8E #8E1C1A #528E1A #1A8C8E
split-complementary
#561A8E #8C8E1A #1A8E1C
monochromatic
#170727 #37115A #561A8E #7523C2 #9445DD

Accessibility & contrast

On white

10.86
#561A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#561A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A8E
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A8E#FFFFFF#000000##FFFFFF
##561A8E1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#4A3A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561a8e;
/* rgb */ color: rgb(86, 26, 142);
/* oklch */ color: oklch(38.2% 0.175 301.7);
Tailwind
colors: {
  custom: {
    50: '#8c5fb0',
    500: '#561a8e',
    950: '#000000',
  },
}
SCSS
$custom: #561a8e;
$custom-light: #8c5fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#561a8e",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 271.034,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38234,
    "c": 0.17487,
    "h": 301.7
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

primary
#561A8E
secondary
#80BE45
accent
#EC3C91
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #561A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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