Lava is not really representative of the Earth as a whole, as it turns out. The mantle (which is the vast majority of Earth's volume) isn't a liquid, it's a squishy deformable solid. Magma that comes from the mantle is only liquid because of the removal of pressure or the addition of water; it wasn't liquid down there. And a lot of lava comes from crustal melting, not mantle material.
Earth as a whole has a density about 5.5x that of water.