Introduction

Ruby is a kind of corundum with a beautiful bright red color. It is widely distributed all over the world, such as Myanmar, Thailand, Sri Lanka, Tanzania, etc. When Al in corundum is replaced by various elements such as Cr, Fe, Ti, and V, the corundum will show various colors. The color of ruby is related to Cr3+. And as the replacement of Al3+ by Cr3+ increases, the color will change from light pink to red1,2 flame-fusion synthetic ruby is the most common type of synthetic ruby. Compared with natural ruby, it has a pure texture and is more suitable for chromaticity research.

There are many ways to evaluate the color of gems. The most common is the Cape series diamond color grading. The grader compares the diamond to be graded with a standard colorimetric stone to determine the color grade of the diamond3,4,5. However, in addition to diamonds, it is difficult to determine the color grade of other gemstones in this way, and because it is artificially graded, there may be large errors. The CIE standard colorimetric system can effectively solve this problem, of which the CIE1931-XYZ system and the CIE1976L*a*b uniform color space are the most widely used. Stockton6 first used the Gem ColorMaster instrument to quantify the color of peridot in the CIE1931 color space. But the CIE1931-XYZ system is a non-uniform color space and cannot describe the color of gems well. The CIE1976L*a*b uniform color space is modified based on the CIE1964 uniform color space, and it is widely used in gem color evaluation7,8,9,10,11,12.

The main instrument currently used to measure the color of gemstones is a spectrophotometer. The portable spectrophotometer is used to measure the color of perdiot13,14,15, amethyst16, turquoise17, rubellite18, and green chrysoprase19,20. Color i5 and GemDialogue color cards are used to quantitatively describe the color of jadeite21. In addition, computer vision systems can also be used to measure the color of jadeite22. Because the portable spectrophotometer is a closed system, it cannot effectively reflect the pleochroism of some gemstones. The use of ultraviolet–visible spectrophotometer can effectively solve this problem23. Compared with the portable spectrophotometer, the UV–Vis spectrophotometer measures color more objectively and accurately. The UV–Vis spectrophotometer calculates the colors of leaves24 and flowers25, garnets26,27, synthetic alexandrite28, dyed purple opal29, etc. by using CIE1931RGB and CIEXYZ color matching functions.

The human retina has three kinds of color photoreceptor cells, namely cone cells, that are sensitive to red, green, and blue light. S cones detect short wavelength (blue), M cones detects medium wavelength (green), L cones detect long-wavelength (red). When exposed to radiation, the spectral stimulus energy is absorbed by photoreceptors of the three cones. The cone cells produce different degrees of neurophysiological reactions. The International Commission on Illumination (CIE) has established a series of color matching functions through visual experiments. As a proxy for the cone response function, the CIE color-matching functions are used to express the linear combination of the average visual response30. The matching function can be used to calculate the energy of light that enters the human eye and produces the color perception. Sun28 discussed the influence of different path lengths on the color of synthetic Cr-bearing chrysoberyl by calculating the color matching function. In addition, pleochroism is also a factor that needs to be considered when studying the color of gems31.

Two fully polished synthetic ruby cuboids R and Ru which have been oriented by an X-ray crystal orientation instrument are selected. Size is 5.89 mm × 5.97 mm × \(9.29 \; \mathrm{mm}\) and 5.46 mm \(\times \, 5.41 \; \mathrm{mm}\times 8.9 \; \mathrm{mm}\). The sample is shown in Fig. 1. The height is the c-axis, and the surface is perpendicular to the optical axis. The length and width of the gemstone are selected as the a-axis and b-axis. The a, b, and c axes of the two samples are numbered respectively Roa, Rob, Rec, Ruoa, Ruob, Ruec. This paper mainly uses the color matching function to quantitatively characterize the color, and studies the influence of the light path length and the light source on the color of the ruby.

Figure 1
figure 1

Schematic diagram of the sample. Three mutually perpendicular crystal axes a, b, and c. The unpolarized light parallel to the a-axis and the b-axis is split into o-light and e-light when passing through the crystal, and the unpolarized light parallel to the c-axis passes through the crystal along the optical axis.

Results and discussion

UV–Vis spectral analysis

The UV–Vis spectrum of synthetic ruby is shown in Fig. 2. The top right-hand corner of Fig. 2 shows the ED-XRF data for synthetic ruby. ED-XRF is a semi-quantitative chemical composition test that can be used to quickly detect the content of most elements in synthetic ruby. It can be seen that there are obvious absorption peaks at 693.50 nm, 669 nm, and 659 nm, as well as broad absorption bands centered at 545 nm and 416 nm. The absorption peak at 693.50 nm is the fluorescence emission peak caused by Cr3+, which is caused by 2E → 4A2 of Cr3+, which is the reason for the strong fluorescence of synthetic ruby. The two weak absorption peaks at 669 nm and 659 nm are the 4A2 → 2T1 transition caused by Cr3+. The absorption peak near 581 nm is related to the charge transfer of Fe2+-Ti4+. The absorption peak at 528 nm is related to the 2D splitting of the Ti3+ spectrum item32,33. The absorption peaks at 545 nm and 416 nm are the 4A2 → 4T2 transition caused by Cr3+, which absorb yellow-green light, allowing red light and a small amount of blue-violet light to pass through, forming the color of synthetic ruby. As can be seen from the ED-XRF data in Fig. 2, the main chemical composition of the synthetic ruby is Al2O3, which accounts for 97.186%. The colour-causing elements Cr2O3 and Fe2O3 account for 0.998% and 0.008% respectively. This coincides with the absorption peaks in the UV–Vis spectrum of Fig. 2.

Figure 2
figure 2

Ultraviolet–visible light spectrum of synthetic ruby Roa. Two transmission windows appear at 652–700 and 465–480 nm, which transmit red light and a small amount of blue-violet light. The ED-XRF data of sample R is shown in the upper right corner.

Correcting the UV–Vis spectra

When light passes through the sample, energy is lost in three ways. A is the total absorbance of the sample measured directly from the spectrophotometer, including Ac (absorbance contribution of the absorber), Arl (absorption caused by light reflection at the boundary), Aisl (absorption caused by scattering of internal inclusions)26,28.

$$\mathrm{A}={A}_{c}+{A}_{rl}+{A}_{isl}$$
(1)

There are many different methods to correct the baseline. For example, Sun26 subtracted the absorption spectrum at 800 nm to obtain a corrected spectrum. In this study, the Sellmeier equation is used to eliminate Arl and to correct the baseline of the ultraviolet–visible spectrum. At the same time because the sample is synthetic ruby with pure texture and no inclusions, Aisl does not affect the UV–Vis spectrum. Thus, the corrected UV–Vis spectrum is obtained.

The absorption (Arl) of light reflected at the boundary is related to the refractive index (n) of the sample. The Sellmeier equation is an empirical formula that describes the refractive index and wavelength in a specific transparent medium and is used to determine the dispersion of light in the medium. Different materials have different Sellmeier coefficients. According to the research of Malitson34, we get the following Sellmeier formula:

$${\mathrm{n}}^{2}\left(\uplambda \right)=1+\frac{{\mathrm{B}}_{1}{\uplambda }^{2}}{{\uplambda }^{2}-{\mathrm{C}}_{1}}+\frac{{\mathrm{B}}_{2}{\uplambda }^{2}}{{\uplambda }^{2}-{\mathrm{C}}_{2}}+\frac{{\mathrm{B}}_{3}{\uplambda }^{2}}{{\uplambda }^{2}-{\mathrm{C}}_{3}}$$
(2)

where n is the refractive index, \(\uplambda \) is the wavelength, and B1,2,3 and C1,2,3 are different Sellmeier coefficients. For corundum, there are the following Sellmeier equations in the direction of the corundum o light and the direction of the e light respectively:

$${\mathrm{n}}^{2}\left(\uplambda \right)=1+\frac{1.4313493{\uplambda }^{2}}{{\uplambda }^{2}-{0.0726631}^{2}}+\frac{0.65054713{\uplambda }^{2}}{{\uplambda }^{2}-{0.1193242}^{2}}+\frac{5.3414021{\uplambda }^{2}}{{\uplambda }^{2}-{18.028251}^{2}}$$
(3)
$${\mathrm{n}}^{2}\left(\uplambda \right)=1+\frac{1.5039759{\uplambda }^{2}}{{\uplambda }^{2}-{0.0740298}^{2}}+\frac{0.55069141{\uplambda }^{2}}{{\uplambda }^{2}-{0.1216529}^{2}}+\frac{6.5927379{\uplambda }^{2}}{{\uplambda }^{2}-{20.072248}^{2}}$$
(4)

It is assumed that in the ideal state when unpolarized light is incident perpendicularly to the surface of the gemstone, a certain length of optical path will not be generated inside. In this case, the light absorption inside the gem can be ignored. Therefore, the transmittance through the surface of the gemstone can be expressed as:

$$\mathrm{T}=1-\mathrm{R}$$
(5)

According to Lambert Beer’s law, transmittance can be converted to absorbance:

$$\mathrm{A}=\mathrm{lg}\frac{1}{\mathrm{T}}=\mathrm{kbc}$$
(6)

where A is the absorbance, T is the transmittance, k is the molar absorbance coefficient, c is the concentration of the absorbing substance, and b is the optical path of the light.

$$\mathrm{T}={10}^{-\mathrm{A}}=1-\mathrm{R}$$
(7)
$$\mathrm{A}=-\mathrm{lgT}=-\mathrm{lg}\left(1-\mathrm{R}\right)$$
(8)
$$\mathrm{R}={ \left(\frac{{\mathrm{n}}_{0}-{\mathrm{n}}_{1}}{{\mathrm{n}}_{0}+{\mathrm{n}}_{1}} \right)}^{2}$$
(9)
$${A}_{rl}=2A=-2lg\left[1-{ \left(\frac{{\mathrm{n}}_{0}-{\mathrm{n}}_{1}}{{\mathrm{n}}_{0}+{\mathrm{n}}_{1}} \right)}^{2}\right]$$
(10)

R is the reflectivity, n0 = 1 is the refractive index of light in the air, n1 is the refractive index of light in the corundum, T is the transmittance, and A is the absorbance produced by single boundary reflection. Arl is the absorbance produced by the reflection of the two boundaries.

Accurate visible spectroscopic measurements rely on correct calibration of the spectral baseline. Figure 3 shows the spectrum of baseline correction performed by the Sellmeier equation. The spectra of the synthetic ruby were converted to transmission spectra with light path lengths from 1 to 25 mm by multiplying the spectra by an appropriate value. That is I/I0, where "I" is the desired light path length and "I0" is the light path length of the reflection-corrected spectrum. By following the steps above, the ultraviolet–visible light spectrums corresponding to the light path length of 1 to 25 mm are obtained. The color matching function can be used to calculate the tristimulus value XYZ, and color space conversion can be used to obtain the color parameters L*, a*and b* in the CIE 1976 L*a*b* uniform color space35,36. The detailed conversion steps are detailed in the method. The synthetic ruby color parameters of the light path length from 1 to 10 mm are shown in Table 1.

Figure 3
figure 3

Corrected UV–Vis spectrum of the synthetic ruby Roa. The green line is the original spectrum, the pink line is the corrected spectrum, and the gray line is Arl. The top right is the curve of the relationship between the corresponding refractive index and wavelength.

Table 1 Synthetic ruby color parameters with light path length from 1 to 10 mm.

Color calculation and colorimetric parameter maps analysis

The color of transparent gems can be calculated based on the spectrum of the light source and the transmission spectrum of the gem. The integral of the spectral response curve corresponds to the signal emitted by the cone cells of the human eye. The reaction spectrum of the cone, the light source and the transmission spectrum of the sample are combined to determine the tristimulus value XYZ of the spectrum. The spectra of D65 light source and A light source used in this paper and the corresponding \({\overline{\text{x}}}\)(λ), \({\overline{\text{y}}}\)(λ), \({\overline{\text{z}}}\)(λ) color matching function spectra are shown in Fig. 4. The light source is represented by a colorimeter through a standardized spectrum. CIE D65 light source represents the average daylight with a correlated color temperature of about 6504 k, and CIE A light source represents an incandescent lamp with a correlated color temperature of about 2856 k (D65:X = 95.04, Y = 100, Z = 108.87; A:X = 109.85, Y = 100, Z = 35.58).

Figure 4
figure 4

The spectral power distribution of the CIE D65 light source representing daylight (color temperature 6504 k), the spectral power distribution of the incandescent CIE A light source (color temperature 2856 k) and the color matching function spectrum \({\overline{\text{x}}}\)(λ), \({\overline{\text{y}}}\)(λ), \({\overline{\text{z}}}\)(λ).

The CIE XYZ color space is based on the uniform distribution of color perception, and colors will not be scattered in the Cartesian coordinate space. The calculated Euclidean distances between various color coordinates cannot be reasonably compared with each other. In the CIE 1976 L*a*b* color space, a* and b* represent horizontal and vertical Cartesian coordinate axes, L* represents the displacement perpendicular to the circular a*-b* grid. Different combinations of a* and b* can reproduce different tones, and the position of the color coordinate along L* indicates the brightness of the color. In the CIE 1976 L*a*b* color space, the tristimulus value XYZ is non-linearly converted into color parameters. And calculate the chromaticity value C* and hue angle h° under D65 light source and A light source. Taking sample R as an example, the absorption spectrum of light passing through synthetic ruby along any crystal direction can be calculated by the following formula:

$$\mathrm{Am}=x\times \text{R} \; \text{down} \; \text{a}+y\times \text{R} \; \text{down} \; \text{b}+z\times \text{R} \; \text{ down} \; \text{c}$$
(11)
$${x}^{2}+{y}^{2}+{z}^{2}={r}^{2}$$
(12)

where Am is the absorption spectrum in either direction, R down a is Roa's UV–Vis absorption spectrum, R down b is Rob's UV–Vis absorption spectrum, R down c is Rec's UV–Vis absorption spectrum, x, y, z are the Cartesian coordinates of the ray path length, and the ray path length is constrained to lie on a sphere with a radius of r.

As shown in Fig. 5, the color of the synthetic ruby under D65 and A light source increases with the increase of the light path length, from the original light pink to purple-red and finally to deep red. When the light path length is 1 mm and 20 mm, the effect of different light sources on the color of ruby is not obvious. When the light path length is 5 mm and 10 mm, the color difference between the two light sources can be observed from the figure. Therefore, only when the length of the light path is in the appropriate range, that is, the length of the light path is not too large or too small, the light source will have a significant effect on the color of the ruby.

Figure 5
figure 5

Synthetic ruby chromaticity diagram between Roa, Rob, and Rec of different light path lengths. The left column is the D65 light source, and the right column is the A light source. (a) 1 mm and 5 mm chromaticity diagram, (b) 10 mm and 20 mm chromaticity diagram.

Figure 5 also shows the difference in colour between the a-axis (o-light direction) and the b-axis (e-light direction) of the ruby. This has to do with the pleochroism of ruby. When the light path length is 1 mm, the colour in the e light direction is light pink and the colour in the o light direction is pink; when the light path length is increased to 10 mm, the difference in colour between the e light direction and the o light direction becomes smaller; when the light path length is increased to 20 mm, the difference in colour between the e light direction and the o light direction is almost invisible by the naked eye. Therefore, it can be concluded that the light path length has an effect on the colour in the o light direction and the e light direction of the synthetic ruby. As the length of the optical path increases, the difference in colour between the o and e directions becomes smaller.

The influence of light path length and light source on the color of synthetic ruby

Figures 6, 7, 8 show the sample color parameters L*, C*, h° for different light path lengths under D65 and A light sources. Take Roa, Rob, Rec, Ruoa, Ruob, and Ruec with different light path lengths as a set of samples.

Figure 6
figure 6

The lightness L* of synthetic rubies with different light path lengths under two light. (a) Synthetic ruby lightness L* under D65 light source. (b) Synthetic ruby lightness L* under A light source.

Figure 7
figure 7

The chroma C* of synthetic rubies with different light path lengths under two light sources. (a) Synthetic ruby chroma C* under D65 light source. (b) Synthetic ruby chroma C* under A light source.

Figure 8
figure 8

The hue angle of synthetic rubies with different path lengths under two light sources h° (a) D65 light source synthetic ruby hue angle h°. (b) A light source synthetic ruby hue angle h°.

Figure 6 shows whether it is D65 light source or A light source, when the light path length increases, the lightness will decrease, showing a negative correlation (R2 = 0.952). This is consistent with the perception of the human eye. The lightness under the A light source is higher than the lightness under the D65 light source. When the length of the light path increases from 1 to 5 mm, the lightness drops rapidly, indicating that when the length of the light path is very small, its change has a significant impact on the lightness.

Figure 7 shows that under D65 and A light sources, the chroma C* of synthetic rubies with different light path lengths increases first and then decreases. Under the D65 light source, when the light path length is less than 7 mm, the chromaticity C* increases with the increase of the light path length, reaching the maximum value of 63.58; When the path length is greater than 7 mm, the color saturation reaches saturation and begins to decrease. Under A light source, it is bounded by 10 mm.

In addition, the chroma values of Rec and Ruec under the two light sources are significantly lower than Roa and Ruoa, which is caused by the pleochroism of the ruby. But under the D65 light source, when the light path length is 10 mm to 15 mm, the chroma value is close. This is because Roa and Ruoa reached the highest chroma and began to decline at 7 mm, while Rec and Ruec continued to increase with the increase of the light path length because of the small chroma, and did not start to decrease until 12 mm. The color temperature of A light source is lower than that of D65 light source, so the chroma C* of Roa and Ruoa starts to decrease at 10 mm, while Rec and Ruec start to decrease at 14 mm.

Figure 8 shows that the hue angle h° increases with the increase of the light path length under the two light sources, and the increasing amplitude gradually decreases. The hue angle under A light source is generally higher than that under D65 light source. But under the D65 light source, the hue angle h° decreases when Ruec (e light direction) is 1 mm to 3 mm, and h° begins to increase after 3 mm, this phenomenon does not appear under the A light source. This is because when the length of the light path increases, the color changes from pink to light pink, and the chromaticity coordinate a* increases significantly, resulting in a decrease in hue angle h°. The A light source has a yellow hue, making the hue angle h° greater than that under the D65 light source, so the hue angle will not decrease due to the increase in the length of the light path.

The influence of light path length on the color difference \(\Delta \)E*ab

The color of synthetic ruby is plotted in CIE 1976 L*a*b* color space. In the three-dimensional space, the line connecting the points under the two light sources represents the Euclidean distance, which is the color difference ΔE*ab. Project the three-dimensional L*a*b* color coordinates to the two-dimensional a*b* plane (color circle), and draw a connecting line between the D65 light source and the A light source. In addition, link the change in the length of the light path with the color difference, draw a connecting line for each path length, and draw them in the same plane. The left end of the connecting line represents the color coordinate under the D65 light source, and the right end represents the color coordinate under the A light source. As shown in Fig. 9, take Roa and Rec as examples for drawing.

Figure 9
figure 9

Roa (o light direction) and Rec (e light direction) color difference ΔE*ab are distributed in two-dimensional a*b* plane, the left end of the connecting line is the color coordinate of D65 light source, and the right end is the color coordinate of light source A.

Roa and Rec are the o-light direction and e-light direction of synthetic ruby respectively. It can be seen from Fig. 9 that as the length of the light path increases, the connecting lines are distributed in an upward trend in the two-dimensional a*b* plane. The color difference \(\Delta \)E*ab in Roa and Rec both increases first and then decreases. When the light path length is 12 mm, the color difference ΔE*ab reach the maximum, which are 14.85 and 15.06 respectively. In order to further explore the influence of the light path length on the color when the light source changes, the light path length is increased to 25 m.

As shown in Fig. 10, increasing the light path length to 25 mm, the color difference \(\Delta \)E*ab continues to decrease, indicating that as the light path length increases, the influence of the light source on the color is weakened. By comparing Fig. 10a,b, it is found that the color difference \(\Delta \)E*ab changes of the two samples in the o-light and e-light directions are different, which is related to the color and pleochroism of the samples.

Figure 10
figure 10

The color difference of different light path lengths in the o-light direction and e-light direction ΔE*ab (a) Roa and Rec different light path length color difference \(\Delta \)E*ab, (b) Ruoa and Ruec different light path length color difference ΔE*ab.

The influence of UV–Vis absorbance peak area on the color of synthetic ruby

The strong absorption band at 545 nm in the ultraviolet–visible spectrum is caused by Cr3+, which absorbs yellow-green light in visible light and transmits red light, which has an important influence on the color of ruby. By calculating the first derivative of the ultraviolet–visible spectrum, the points with zero derivative near 473 nm and 652 nm are determined as the starting and ending points, and the absorption peak area at 545 nm is calculated (Fig. 11).

Figure 11
figure 11

The absorption peak area (X) at 545 nm. Taking the sample Roa as an example, the point where the first derivative is equal to zero is selected as the starting point and the end point of the 545 nm absorption peak range, and the absorption peak area is obtained by integrating from 473 to 652 nm. The top right is the ultraviolet–visible light absorption spectra of different light path lengths.

Select a part of the data of different 545 nm absorption peak areas under D65 light source to plot 12. At the same time, it can be seen from Fig. 11 that the 545 nm absorption peak area is positively correlated with the light path length. Figure 12 shows that the hue angle h° is positively correlated with the peak area at 545 nm. When the absorption peak area increases, the hue angle h° increases. The R2 of the hue angle under the D65 light source is 0.996. h° changed from − 11.86 (that is, 348.14) to 36.75. The lightness L* is negatively correlated with the peak area at 545 nm. As the peak area increases, the ruby absorbs more visible light, and the lightness decreases. The chroma C* first increases and then decreases with the absorption peak area, which is related to the changes of L* and h°. When h° increases, L* decreases. When the length of the light path increases to a certain length, the decrease in brightness L* has a significant impact on chroma C*, making chroma C* begin to decrease.

Figure 12
figure 12

L* and h° of synthetic ruby with different UV–visible spectral peak areas under D65 light source.

Conclusion

When the length of the light path is increased from 1 to 20 mm, the synthetic ruby changes colour from light pink to deep red. At the same time, due to the pleochroism of ruby, there is a difference in colour between the o light and e light directions of ruby. As the length of the light path increases, the difference becomes smaller.

Lightness L* increases as the length of the light path increases. When the light path length is 1 mm to 5 mm, its subtle changes will cause a significant decrease in lightness; The hue angle h° increases with the increase of the light path length, but under the D65 light source, when the light path length is 1 to 3 mm, the Ruec color shifts red, causing the hue angle h° to decrease; As the length of the light path increases, the chroma C* increases, but when the length of the light path increases to a certain length, the decrease of the lightness L* causes the chroma to start to decrease.

The color difference ΔE*D65-A first increases and then decreases with the increase of the light path length. When the length of the light path reaches about 10 mm, the color difference reaches its maximum value. At this time, the light source has the greatest influence on the color. When the length of the light path continues to increase, the influence of the light source on the color is weakened.

In the UV–visible spectra, the strong absorption band at 545 nm caused by Cr3+ has a significant relationship with the colour of ruby. The strong absorption band at 545 nm has a positive correlation with the light path length. The larger the area of the band at 545 nm, the lower the lightness and the higher the hue angle, which means the ruby colour is redder.

Methods

UV–Vis spectroscopy

The UV-3600 UV–VIS spectrophotometer (Shimadzu, Tokyo, Japan) was used to carrry out the UV–Vis spectra. The test conditions were described as follows: the range of wavelength, 200–900 nm; slit width 2 nm; scanning speed medium; sampling interval 0.5 s; scanning mode, single.

CIE1931 XYZ colour matching functions

The International Commission on Illumination proposed the CIEXYZ color system in 1931, and the tristimulus value XYZ can be obtained by matching the isoenergetic spectrum. The tristimulus value can calculate the color based on the spectrum collected from the surface of the object or the transmission through the object:

$$\mathrm{X}={\int }_{\uplambda }\mathrm{k\varphi }(\uplambda )\overline{\mathrm{x} }(\uplambda )d\lambda \approx \sum_{380}^{780}k\varphi (\lambda )\overline{x }(\lambda )\Delta\lambda $$
(13)
$$\mathrm{Y}={\int }_{\uplambda }\mathrm{k\varphi }(\uplambda )\overline{\mathrm{y} }(\uplambda )d\lambda \approx \sum_{380}^{780}k\varphi (\lambda )\overline{y }(\lambda )\Delta\lambda $$
(14)
$$\mathrm{Z}={\int }_{\uplambda }\mathrm{k\varphi }(\uplambda )\overline{\mathrm{z} }(\uplambda )d\lambda \approx \sum_{380}^{780}k\varphi (\lambda )\overline{z }(\lambda )\Delta\lambda $$
(15)
$$\mathrm{k}=\frac{100}{{\int }_{\uplambda }\mathrm{S}(\uplambda )\overline{\mathrm{y} }(\uplambda )\Delta\uplambda }$$
(16)

S(\(\uplambda \)) is the relative spectral power distribution of the observation light source. For non-luminous objects, \(\mathrm{\varphi }(\uplambda )\) is the product of the spectral transmittance \(\mathrm{T}(\uplambda )\) and the relative spectral power of the light source S(\(\uplambda \)), expressed as \(\mathrm{T}(\uplambda )\) S(\(\uplambda \)), or the product of the spectral reflectance \(\mathrm{R}(\uplambda )\) and the relative spectral power distribution of the light source S(\(\uplambda \)), expressed as \(\mathrm{R}(\uplambda )\) S(\(\uplambda \)). k is the naturalization coefficient. For non-luminous objects, the Y value of the selected standard illuminant was adjusted to 10031,32.

Colour space conversion

In order to describe easily colors, the color tristimulus values in CIEXYZ are non-linearly converted to obtain the color parameters L*, a*, b* in the CIE1976L*a*b* color space system. The formula for conversion is as follows:

$${L}^{*}=116 \left( {\frac{X}{{{X_n}}}} \right)^\frac{1}{3}-16$$
(17)
$${a}^{*}=500\left[{ \left(\frac{X}{{X}_{n}} \right)}^\frac{1}{3}- \left( {\frac{Y}{{{Y_n}}}} \right)^\frac{1}{3}\right]$$
(18)
$${b}^{*}=200\left[{ \left(\frac{Y}{{Y}_{n}}\right)}^\frac{1}{3}- \left( {\frac{Z}{{{Z_n}}}} \right)^\frac{1}{3}\right]$$
(19)

For D65 light source, Xn = 95.04, Yn = 100, Zn = 108.88. For light source A, Xn = 109.85, Yn = 100, and Zn = 35.58. Xn, Yn, Zn are the colorimetric data obtained from the CIE1931 standard colorimetric observer (2°).

CIE1976 L*a*b* colour system

The CIE1976L*a*b* color space is the most widely used in the field of colorimetry. The system consists of plane chromaticity axes a* and b* and vertical axis L*. a* stands for red, −a* stands for green; b* stands for yellow, −b* stands for blue. The chroma C* and hue angle h° can be calculated based on chromaticities a* and b*.

$${C}^{*}=\sqrt{{a}^{*2}+{b}^{*2}}$$
(20)
$$\mathrm{h}=\mathrm{arctan}\frac{{\mathrm{b}}^{*}}{{\mathrm{a}}^{*}}$$
(21)

To calculate the colour difference of rubies under different sources of illumination, we chose the CIE Lab (ΔE*ab) color difference formula:

$$\Delta {\mathrm{E}}_{\mathrm{ab}}^{*}=\sqrt{{(\Delta {L}^{*})}^{2}+({\Delta {a}^{*})}^{2}+({\Delta {b}^{*})}^{2}}$$
(22)

where \(\Delta {\mathrm{a}}^{*}={\mathrm{a}}_{\mathrm{D}65}^{*}-{\mathrm{a}}_{\mathrm{A}}^{*}\), \(\Delta \mathrm{b}={\mathrm{b}}_{\mathrm{D}65}^{*}-{\mathrm{b}}_{\mathrm{A}}^{*} \; \mathrm{ and } \;\Delta \mathrm{L}={\mathrm{L}}_{\mathrm{D}65}^{*}-{\mathrm{L}}_{\mathrm{A}}^{*}\), and \(\Delta \mathrm{h}^\circ \) is the hue angle difference under different sources of illumination:

$$\Delta \mathrm{h}={\mathrm{h}}_{\mathrm{D}65}-{\mathrm{h}}_{\mathrm{A}}$$
(23)

where \(\Delta {\mathrm{C}}^{*}\) is the chroma difference under different sources of illumination:

$$\Delta {\mathrm{C}}^{*}={\mathrm{C}}_{\mathrm{D}65}^{*}-{\mathrm{C}}_{\mathrm{A}}^{*}$$
(24)