#561A5F#561A5F

#561A5F is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.127 H 322.2°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#561A5F
RGBrgb(86, 26, 95)
HSLhsl(292, 57%, 24%)
HSVhsv(292, 73%, 37%)
CMYKcmyk(9.5%, 72.6%, 0%, 62.7%)
CIE-LABlab(22.10, 37.82, -27.95)
CIE-LCHlch(22.10, 47.03, 323.53°)
OKLaboklab(34.49% 0.1005 -0.078)
OKLCHoklch(34.49% 0.127 322.2)
XYZxyz(6.2725, 3.5438, 11.1779)
Luminance0.0354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A5F #235F1A
analogous
#331A5F #561A5F #5F1A45
triadic
#561A5F #5F561A #1A5F56
tetradic
#561A5F #5F331A #235F1A #1A455F
square
#561A5F #5F331A #235F1A #1A455F
split-complementary
#561A5F #455F1A #1A5F33
monochromatic
#160718 #2B0D2F #561A5F #81278F #AD34BF

Accessibility & contrast

On white

12.29
#561A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#561A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A5F
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A5F#FFFFFF#000000##FFFFFF
##561A5F1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053061
Deuteranopia (green-blind)
#23375D
Tritanopia (blue-blind)
#57263A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #561a5f;
/* rgb */ color: rgb(86, 26, 95);
/* oklch */ color: oklch(34.5% 0.127 322.2);
Tailwind
colors: {
  custom: {
    50: '#885c8d',
    500: '#561a5f',
    950: '#000000',
  },
}
SCSS
$custom: #561a5f;
$custom-light: #885c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#561a5f",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 292.174,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34487,
    "c": 0.12722,
    "h": 322.2
  },
  "luminance": 0.03543
}

Semantic roles & 50–950 ramp

primary
#561A5F
secondary
#4B9540
accent
#E0485B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #561A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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