The number 31189 (thirty-one thousand one hundred eighty-nine) is written in Roman numerals as follows: XXXICLXXXIX