Your goal is to find the secret four-color code. The following colors are possible: green, black, white, blue, red, purple.
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: ['blue', 'black', 'red', 'white']. Hint: two colors are in the correct positions and one color is in the secret code but in the wrong positions.
Guess: ['green', 'black', 'black', 'white']. Hint: one color is in the correct position.
Guess: ['white', 'blue', 'red', 'white']. Hint: three colors are in the correct positions.
Guess: ['red', 'blue', 'red', 'white']. Hint: three colors are in the correct positions.
A B C D
purple, green, purple, blue blue, blue, blue, white purple, blue, red, white black, green, red, black