The number 312331 (three hundred twelve thousand three hundred thirty-one) is written in Roman numerals as follows: CCCXIICCCXXXI