#561A7C#561A7C

#561A7C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.156 H 308.2°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#561A7C
RGBrgb(86, 26, 124)
HSLhsl(277, 65%, 29%)
HSVhsv(277, 79%, 49%)
CMYKcmyk(30.6%, 79%, 0%, 51.4%)
CIE-LABlab(24.23, 44.27, -43.28)
CIE-LCHlch(24.23, 61.91, 315.65°)
OKLaboklab(36.68% 0.0968 -0.1229)
OKLCHoklch(36.68% 0.156 308.2)
XYZxyz(7.8445, 4.1726, 19.4570)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A7C #407C1A
analogous
#251A7C #561A7C #7C1A71
triadic
#561A7C #7C561A #1A7C56
tetradic
#561A7C #7C251A #407C1A #1A717C
square
#561A7C #7C251A #407C1A #1A717C
split-complementary
#561A7C #717C1A #1A7C25
monochromatic
#120519 #330F49 #561A7C #7925AF #9A3BD6

Accessibility & contrast

On white

11.45
#561A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561A7C
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A7C#FFFFFF#000000##FFFFFF
##561A7C1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#50324A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561a7c;
/* rgb */ color: rgb(86, 26, 124);
/* oklch */ color: oklch(36.7% 0.156 308.2);
Tailwind
colors: {
  custom: {
    50: '#8a5ea3',
    500: '#561a7c',
    950: '#000000',
  },
}
SCSS
$custom: #561a7c;
$custom-light: #8a5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#561a7c",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 276.735,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36679,
    "c": 0.15644,
    "h": 308.2
  },
  "luminance": 0.04172
}

Semantic roles & 50–950 ramp

primary
#561A7C
secondary
#6CB042
accent
#E84081
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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