Habitats where purple milk vetch (Astragalus danicus) grows:
| Habitat | NVC communities | Sites |
|---|---|---|
| Brownfield | NVC → | Sites → |
| Hard cliff and cliff slope | NVC → | Sites → |
| Lowland calcareous grassland | NVC → | Sites → |
| Lowland dry acid grassland | NVC → | Sites → |
| Lowland dry heath | NVC → | Sites → |
| Machair sand dune | NVC → | Sites → |
| Sand dune | NVC → | Sites → |