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