The number 2731 (two thousand seven hundred thirty-one) is written in Roman numerals as follows: MMDCCXXXI