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