The shortcut for saturation 0 in the conversion incorrectly does not take into account that the lightness value is a percentage (out of 100) where the rgb parts of rgba are integer values out of 255. As such the conversion fails (as does the underlying darken).