#561A7F#561A7F

#561A7F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.160 H 307.0°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#561A7F
RGBrgb(86, 26, 127)
HSLhsl(276, 66%, 30%)
HSVhsv(276, 80%, 50%)
CMYKcmyk(32.3%, 79.5%, 0%, 50.2%)
CIE-LABlab(24.48, 44.98, -44.78)
CIE-LCHlch(24.48, 63.47, 315.12°)
OKLaboklab(36.93% 0.0961 -0.1273)
OKLCHoklch(36.93% 0.16 307)
XYZxyz(8.0371, 4.2496, 20.4714)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A7F #437F1A
analogous
#241A7F #561A7F #7F1A75
triadic
#561A7F #7F561A #1A7F56
tetradic
#561A7F #7F241A #437F1A #1A757F
square
#561A7F #7F241A #437F1A #1A757F
split-complementary
#561A7F #757F1A #1A7F24
monochromatic
#110519 #34104C #561A7F #7824B2 #983CD7

Accessibility & contrast

On white

11.35
#561A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#561A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A7F
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A7F#FFFFFF#000000##FFFFFF
##561A7F1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#4F334C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561a7f;
/* rgb */ color: rgb(86, 26, 127);
/* oklch */ color: oklch(36.9% 0.160 307.0);
Tailwind
colors: {
  custom: {
    50: '#8a5ea5',
    500: '#561a7f',
    950: '#000000',
  },
}
SCSS
$custom: #561a7f;
$custom-light: #8a5ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#561a7f",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 275.644,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.36929,
    "c": 0.15951,
    "h": 307
  },
  "luminance": 0.0425
}

Semantic roles & 50–950 ramp

primary
#561A7F
secondary
#70B342
accent
#E93F84
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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