The number 312531 (three hundred twelve thousand five hundred thirty-one) is written in Roman numerals as follows: CCCXIIDXXXI