Reading your post literally you would be looking for information about "Chromatic Adaptation" and your best bet would be the Chromatic Adaptation Calculator as found on
Bruce Lindbloom's site.
However, printed output can exhibit colorshifts under different lightsources that are not solely related to chromatic difference between those lightsources.
You should be aware that our perception is very sensitive to areas of uniform color (for photographers: that includes B&W images). If you're referring to colorsamples for textile or clothing, or carpaint for example, you might well run into the colorshift problem mentioned and you may not be able to solve the problem by simple Chromatic Adaptation calculations. You would then need a custom table as you are already building, and even then the colordifferences may be beyond the precision of current colormanagement implementations and/or output devices.
In an effort to streamline our color matching process, I'm trying to create a mathematical profile for each light source (D65, D50, CW, etc.). My goal is to have a conversion model that allows me to specify an RGB value and a light source and have the formula return the RGB value needed to print a color correct image. Using a Photoshop curve adjustment isn't going to cut it.
If anyone has any ideas, or has done/read about something similar, please let me know. Thanks in advance.