Nice flower indeed.
Is it a Centaury? Centaurium...
Usually on poor soil, dry grassland, on dunes & at edges of woods...
Got that from a book of dads. Not from my expertise
I think you are right, habitat fits too.
I went through two book field guides and some on line ones and could not identify it!
Thanks for that.