#561A7B#561A7B

#561A7B is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.155 H 308.6°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#561A7B
RGBrgb(86, 26, 123)
HSLhsl(277, 65%, 29%)
HSVhsv(277, 79%, 48%)
CMYKcmyk(30.1%, 78.9%, 0%, 51.8%)
CIE-LABlab(24.15, 44.04, -42.78)
CIE-LCHlch(24.15, 61.39, 315.83°)
OKLaboklab(36.6% 0.097 -0.1214)
OKLCHoklch(36.6% 0.155 308.6)
XYZxyz(7.7816, 4.1474, 19.1257)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A7B #3F7B1A
analogous
#251A7B #561A7B #7B1A70
triadic
#561A7B #7B561A #1A7B56
tetradic
#561A7B #7B251A #3F7B1A #1A707B
square
#561A7B #7B251A #3F7B1A #1A707B
split-complementary
#561A7B #707B1A #1A7B25
monochromatic
#120519 #330F48 #561A7B #7925AE #9A3AD5

Accessibility & contrast

On white

11.48
#561A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#561A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A7B
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A7B#FFFFFF#000000##FFFFFF
##561A7B1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#50324A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #561a7b;
/* rgb */ color: rgb(86, 26, 123);
/* oklch */ color: oklch(36.6% 0.155 308.6);
Tailwind
colors: {
  custom: {
    50: '#8a5ea2',
    500: '#561a7b',
    950: '#000000',
  },
}
SCSS
$custom: #561a7b;
$custom-light: #8a5ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#561a7b",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 277.113,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36596,
    "c": 0.15541,
    "h": 308.6
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

primary
#561A7B
secondary
#6BAF42
accent
#E84080
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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