The equation that uses both wavelength and frequency is c = fλ. c is the speed of light, which is constant. So that means if f increases, then λ must decrease, and vice-versa. Since f and λ are going in different directions then that means that they are inversely proportional.