6589 in words is written as :

Six Thousand Five Hundred and Eighty Nine