#561A58#561A58

#561A58 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.120 H 326.5°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#561A58
RGBrgb(86, 26, 88)
HSLhsl(298, 54%, 22%)
HSVhsv(298, 70%, 35%)
CMYKcmyk(2.3%, 70.5%, 0%, 65.5%)
CIE-LABlab(21.66, 36.40, -24.01)
CIE-LCHlch(21.66, 43.61, 326.59°)
OKLaboklab(34.03% 0.1005 -0.0665)
OKLCHoklch(34.03% 0.12 326.5)
XYZxyz(5.9685, 3.4222, 9.5768)
Luminance0.0342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A58 #1C581A
analogous
#371A58 #561A58 #581A3B
triadic
#561A58 #58561A #1A5856
tetradic
#561A58 #58371A #1C581A #1A3B58
square
#561A58 #58371A #1C581A #1A3B58
split-complementary
#561A58 #3B581A #1A5837
monochromatic
#170718 #280C29 #561A58 #842887 #B236B6

Accessibility & contrast

On white

12.47
#561A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#561A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A58
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A58#FFFFFF#000000##FFFFFF
##561A581.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102F5A
Deuteranopia (green-blind)
#283756
Tritanopia (blue-blind)
#582336
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #561a58;
/* rgb */ color: rgb(86, 26, 88);
/* oklch */ color: oklch(34.0% 0.120 326.5);
Tailwind
colors: {
  custom: {
    50: '#885c87',
    500: '#561a58',
    950: '#000000',
  },
}
SCSS
$custom: #561a58;
$custom-light: #885c87;
$custom-dark: #000000;
JSON
{
  "hex": "#561a58",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 298.065,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34027,
    "c": 0.12048,
    "h": 326.5
  },
  "luminance": 0.03422
}

Semantic roles & 50–950 ramp

primary
#561A58
secondary
#428E40
accent
#DE4A4F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #561A58

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

Preview Lab → · Contrast checker → · Palette generator →

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