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