An envelope for the spectrum of a matrix