Reverse light wiring problem

Its actually pretty simple. The black wire needs key-on power. And the violet wire needs to hook up to the back-up lights.....with working bulbs..... and a chassis ground.