Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
The best way is to use a colorimeter with calibration software. I've been out of the loop for a bit, but the Spyder 4 series seems like a decent choice. I'm sure there are other options available.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.