Looks like the Blue goes to the rocker switch, but unsure right now if the purple is for a light or not
Since it works when jumping the slave, this tells that power is not coming from the key. It could be the key, or the wiring leading to the key or coming from back to the motor. The...