#561C7A#561C7A

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

Color values

HEX#561C7A
RGBrgb(86, 28, 122)
HSLhsl(277, 63%, 29%)
HSVhsv(277, 77%, 48%)
CMYKcmyk(29.5%, 77%, 0%, 52.2%)
CIE-LABlab(24.37, 42.96, -41.80)
CIE-LCHlch(24.37, 59.94, 315.79°)
OKLaboklab(36.72% 0.0952 -0.1186)
OKLCHoklch(36.72% 0.152 308.8)
XYZxyz(7.7651, 4.2142, 18.8129)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561C7A #407A1C
analogous
#271C7A #561C7A #7A1C6F
triadic
#561C7A #7A561C #1C7A56
tetradic
#561C7A #7A271C #407A1C #1C6F7A
square
#561C7A #7A271C #407A1C #1C6F7A
split-complementary
#561C7A #6F7A1C #1C7A27
monochromatic
#120619 #331148 #561C7A #7927AC #9A3ED3

Accessibility & contrast

On white

11.40
#561C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#561C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561C7A
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561C7A#FFFFFF#000000##FFFFFF
##561C7A1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003B78
Tritanopia (blue-blind)
#50324A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561c7a;
/* rgb */ color: rgb(86, 28, 122);
/* oklch */ color: oklch(36.7% 0.152 308.8);
Tailwind
colors: {
  custom: {
    50: '#8a5fa1',
    500: '#561c7a',
    950: '#000000',
  },
}
SCSS
$custom: #561c7a;
$custom-light: #8a5fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#561c7a",
  "rgb": {
    "r": 86,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 277.021,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36722,
    "c": 0.15208,
    "h": 308.8
  },
  "luminance": 0.04214
}

Semantic roles & 50–950 ramp

primary
#561C7A
secondary
#6CAE44
accent
#E64281
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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