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