The number 312540 (three hundred twelve thousand five hundred forty) is written in Roman numerals as follows: CCCXIIDXL