Well, as you've found out, visual tests are misleading -- unless you get lucky -- because texture and light source matter so much. Paint stores have a paint matching device that looks at how various colors of the light spectrum reflect from paint samples. That's the way to get the best match possible, but a sample of the original is needed. You did it exactly right to get a sample that was clean and had not been faded by light exposure.
Tomsic