I'm a professional applicator, so I know a few things about this topic.
Magpul stuff is fairly consistent, but with any coating Duracoat, Cerakote and KG Gunkote you won't be a dead nuts on perfect match. I'd say it's pretty close, about 92-97% close.
The reason for this is because when you are injection molding polymer the color will vary from piece to piece and day to day because of numerous factors such as outside temp, mold temp, humidity that day, mixture of the color balls in the melting area of the mold at that time etc. polymer's come from the factory in small BB size beads and companies have big hoppers that dispense specific weights of beads into the hopper and mix them up. so when it's molded you "COULD" have a couple beads more or less of that specific color to make whatever color it is.
I use KG Gunkote, it's an oven cured product and it's extremely durable. It's one of my most popular colors!
When painting also the substrate makes a difference, raw aluminum will result in a slightly different hue of grey than a black parkerized finish or polymer would. It's subtle and sometimes you can't even tell but it's possible. I always do my best to mitigate this when dealing with different types of substrates.