#561158#561158

#561158 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.132 H 326.8°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#561158
RGBrgb(86, 17, 88)
HSLhsl(298, 68%, 21%)
HSVhsv(298, 81%, 35%)
CMYKcmyk(2.3%, 80.7%, 0%, 65.5%)
CIE-LABlab(20.38, 40.04, -26.05)
CIE-LCHlch(20.38, 47.77, 326.95°)
OKLaboklab(33.11% 0.1106 -0.0723)
OKLCHoklch(33.11% 0.132 326.8)
XYZxyz(5.7996, 3.0843, 9.5205)
Luminance0.0308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561158 #135811
analogous
#321158 #561158 #581136
triadic
#561158 #585611 #115856
tetradic
#561158 #583211 #135811 #113658
square
#561158 #583211 #135811 #113658
split-complementary
#561158 #365811 #115832
monochromatic
#19051A #240725 #561158 #881B8B #BA25BF

Accessibility & contrast

On white

12.99
#561158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561158
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561158#FFFFFF#000000##FFFFFF
##5611581.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5A
Deuteranopia (green-blind)
#233456
Tritanopia (blue-blind)
#591D34
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #561158;
/* rgb */ color: rgb(86, 17, 88);
/* oklch */ color: oklch(33.1% 0.132 326.8);
Tailwind
colors: {
  custom: {
    50: '#885887',
    500: '#561158',
    950: '#000000',
  },
}
SCSS
$custom: #561158;
$custom-light: #885887;
$custom-dark: #000000;
JSON
{
  "hex": "#561158",
  "rgb": {
    "r": 86,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 298.31,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33107,
    "c": 0.1322,
    "h": 326.8
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#561158
secondary
#369134
accent
#EA3D42
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #561158

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

Preview Lab → · Contrast checker → · Palette generator →

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