Denim's dye typically sits on the surface of the yarn and wears/fades with use; leather's colour depends on the hide, tanning process and any applied finish — both are naturally more variable, piece to piece, than a printed or solid-dyed fabric.

Practical advice
Treat a denim or leather colour as a direction rather than an exact match, and compare the specific piece in person before assuming it matches a swatch or photo.
Always confirm with the physical garment under real light before committing to a colour choice — see methodology.