Your goal is to find the secret four-color code. The following colors are possible: white, blue, black, purple, yellow, red.
Some guesses have already been made. I will provide feedback for each guess made with which it is possible to unambigiously determine the secret code.

Previous Guesses:
Guess: ['red', 'purple', 'black', 'blue']. Hint: three colors are in the secret code but in the wrong positions.
Guess: ['white', 'blue', 'red', 'red']. Hint: three colors are in the secret code but in the wrong positions.
Guess: ['blue', 'red', 'white', 'black']. Hint: three colors are in the correct positions.
A B C D
purple, red, purple, blue red, purple, white, black purple, black, black, purple blue, red, white, purple