The words hew, hue sound the same but have different meanings and spellings. Why do hew, hue sound the same even though they are completely different words?
The answer is simple: hew, hue are homophones of the English language.
To make or shape with or as if with an ax: hew a path through the underbrush.
To cut down with an ax; fell: hew an oak.
To strike or cut; cleave.
To cut something by repeated blows, as of an ax.
The property of colors by which they can be perceived as ranging from red through yellow, green, and blue, as determined by the dominant wavelength of the light. See Table at color.
A particular gradation of color; a shade or tint.
Color: all the hues of the rainbow.
Appearance; aspect: a man of somber hue.
Definitions from The American Heritage® Dictionary of the English Language, 4th Edition and Wordnik.
Homophones (literally "same sound") are usually defined as words that share the same pronunciation, regardless of how they are spelled.