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