#561958#561958

#561958 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 33.9% C 0.122 H 326.5°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#561958
RGBrgb(86, 25, 88)
HSLhsl(298, 56%, 22%)
HSVhsv(298, 72%, 35%)
CMYKcmyk(2.3%, 71.6%, 0%, 65.5%)
CIE-LABlab(21.50, 36.85, -24.27)
CIE-LCHlch(21.50, 44.12, 326.64°)
OKLaboklab(33.91% 0.1017 -0.0672)
OKLCHoklch(33.91% 0.122 326.5)
XYZxyz(5.9467, 3.3787, 9.5696)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561958 #1B5819
analogous
#371958 #561958 #58193B
triadic
#561958 #585619 #195856
tetradic
#561958 #583719 #1B5819 #193B58
square
#561958 #583719 #1B5819 #193B58
split-complementary
#561958 #3B5819 #195837
monochromatic
#170718 #270B28 #561958 #852788 #B334B7

Accessibility & contrast

On white

12.53
#561958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#561958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561958
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561958#FFFFFF#000000##FFFFFF
##5619581.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2F5A
Deuteranopia (green-blind)
#273656
Tritanopia (blue-blind)
#582236
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #561958;
/* rgb */ color: rgb(86, 25, 88);
/* oklch */ color: oklch(33.9% 0.122 326.5);
Tailwind
colors: {
  custom: {
    50: '#885c87',
    500: '#561958',
    950: '#000000',
  },
}
SCSS
$custom: #561958;
$custom-light: #885c87;
$custom-dark: #000000;
JSON
{
  "hex": "#561958",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 298.095,
    "s": 55.752,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33912,
    "c": 0.12193,
    "h": 326.5
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#561958
secondary
#418E3E
accent
#DF494E
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #561958

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

Preview Lab → · Contrast checker → · Palette generator →

#561958 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva