The number 865171 (eight hundred sixty-five thousand one hundred seventy-one) is written in Roman numerals as follows: DCCCLXVCLXXI