The number 31327 (thirty-one thousand three hundred twenty-seven) is written in Roman numerals as follows: XXXICCCXXVII