<!DOCTYPE HTML>
<html>
<body>
  <div style="width:400px; height:500px; border:2px solid black">
    <div style="height:450px"></div>
    <div style="height:50px; background:purple"></div>
  </div>
</html>