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