The number 312231 (three hundred twelve thousand two hundred thirty-one) is written in Roman numerals as follows: CCCXIICCXXXI