#561A7A#561A7A

#561A7A is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.154 H 309.0°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#561A7A
RGBrgb(86, 26, 122)
HSLhsl(278, 65%, 29%)
HSVhsv(278, 79%, 48%)
CMYKcmyk(29.5%, 78.7%, 0%, 52.2%)
CIE-LABlab(24.07, 43.80, -42.27)
CIE-LCHlch(24.07, 60.88, 316.02°)
OKLaboklab(36.51% 0.0972 -0.12)
OKLCHoklch(36.51% 0.154 309)
XYZxyz(7.7193, 4.1225, 18.7977)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A7A #3E7A1A
analogous
#261A7A #561A7A #7A1A6E
triadic
#561A7A #7A561A #1A7A56
tetradic
#561A7A #7A261A #3E7A1A #1A6E7A
square
#561A7A #7A261A #3E7A1A #1A6E7A
split-complementary
#561A7A #6E7A1A #1A7A26
monochromatic
#120519 #320F48 #561A7A #7A25AC #9B39D5

Accessibility & contrast

On white

11.51
#561A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#561A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A7A
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A7A#FFFFFF#000000##FFFFFF
##561A7A1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#513149
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #561a7a;
/* rgb */ color: rgb(86, 26, 122);
/* oklch */ color: oklch(36.5% 0.154 309.0);
Tailwind
colors: {
  custom: {
    50: '#8a5ea1',
    500: '#561a7a',
    950: '#000000',
  },
}
SCSS
$custom: #561a7a;
$custom-light: #8a5ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#561a7a",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 277.5,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36514,
    "c": 0.1544,
    "h": 309
  },
  "luminance": 0.04122
}

Semantic roles & 50–950 ramp

primary
#561A7A
secondary
#6AAE41
accent
#E8407F
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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