The number 331879 (three hundred thirty-one thousand eight hundred seventy-nine) is written in Roman numerals as follows: CCCXXXIDCCCLXXIX