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