#561A8C#561A8C

#561A8C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.173 H 302.4°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#561A8C
RGBrgb(86, 26, 140)
HSLhsl(272, 69%, 33%)
HSVhsv(272, 81%, 55%)
CMYKcmyk(38.6%, 81.4%, 0%, 45.1%)
CIE-LABlab(25.60, 48.10, -51.12)
CIE-LCHlch(25.60, 70.19, 313.26°)
OKLaboklab(38.06% 0.0925 -0.146)
OKLCHoklch(38.06% 0.173 302.4)
XYZxyz(8.9396, 4.6106, 25.2248)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A8C #508C1A
analogous
#1D1A8C #561A8C #8C1A89
triadic
#561A8C #8C561A #1A8C56
tetradic
#561A8C #8C1D1A #508C1A #1A898C
square
#561A8C #8C1D1A #508C1A #1A898C
split-complementary
#561A8C #898C1A #1A8C1D
monochromatic
#170725 #361058 #561A8C #7624C0 #9444DC

Accessibility & contrast

On white

10.92
#561A8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#561A8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A8C
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A8C#FFFFFF#000000##FFFFFF
##561A8C1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#4A3953
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561a8c;
/* rgb */ color: rgb(86, 26, 140);
/* oklch */ color: oklch(38.1% 0.173 302.4);
Tailwind
colors: {
  custom: {
    50: '#8b5faf',
    500: '#561a8c',
    950: '#000000',
  },
}
SCSS
$custom: #561a8c;
$custom-light: #8b5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#561a8c",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 140
  },
  "hsl": {
    "h": 271.579,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38055,
    "c": 0.17283,
    "h": 302.4
  },
  "luminance": 0.04611
}

Semantic roles & 50–950 ramp

primary
#561A8C
secondary
#7EBE44
accent
#EC3C8F
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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