The endings have a slightly different sound so I think it's OK.
If you don't have an Elliott already and you're just considering names I'd drop that second 't'. The first name Elliot is usually spelled with just one, and it makes Elliot and Scarlett look a bit more different.