#561159#561159

#561159 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.133 H 326.2°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#561159
RGBrgb(86, 17, 89)
HSLhsl(298, 68%, 21%)
HSVhsv(298, 81%, 35%)
CMYKcmyk(3.4%, 80.9%, 0%, 65.1%)
CIE-LABlab(20.44, 40.23, -26.61)
CIE-LCHlch(20.44, 48.23, 326.51°)
OKLaboklab(33.17% 0.1106 -0.074)
OKLCHoklch(33.17% 0.133 326.2)
XYZxyz(5.8413, 3.1010, 9.7401)
Luminance0.0310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561159 #145911
analogous
#321159 #561159 #591138
triadic
#561159 #595611 #115956
tetradic
#561159 #593211 #145911 #113859
square
#561159 #593211 #145911 #113859
split-complementary
#561159 #385911 #115932
monochromatic
#19051A #240726 #561159 #881B8C #B925C0

Accessibility & contrast

On white

12.96
#561159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#561159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561159
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561159#FFFFFF#000000##FFFFFF
##5611591.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5B
Deuteranopia (green-blind)
#223457
Tritanopia (blue-blind)
#581E34
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #561159;
/* rgb */ color: rgb(86, 17, 89);
/* oklch */ color: oklch(33.2% 0.133 326.2);
Tailwind
colors: {
  custom: {
    50: '#895888',
    500: '#561159',
    950: '#000000',
  },
}
SCSS
$custom: #561159;
$custom-light: #895888;
$custom-dark: #000000;
JSON
{
  "hex": "#561159",
  "rgb": {
    "r": 86,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 297.5,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33175,
    "c": 0.13308,
    "h": 326.2
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#561159
secondary
#389234
accent
#EB3D44
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #561159

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

Preview Lab → · Contrast checker → · Palette generator →

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