Science

Why the sky is blue, and why it is not violet

Rayleigh scattering separates sunlight on the way down. The same physics explains red sunsets, white clouds, and why Mars has a butterscotch sky.

A deep blue daytime sky with scattered white cumulus clouds.
Photo: ElooKoN, via Wikimedia Commons (CC BY-SA 4.0).

Key takeaways

  • Rayleigh scattering by air molecules varies as one over the wavelength to the fourth power.
  • Short wavelengths scatter far more strongly, so light reaching you from empty sky is dominated by blue.
  • The sky is not violet because sunlight contains less violet and the eye is less sensitive to it.
  • Sunsets are red because the long atmospheric path has already scattered the blue out of the direct beam.
  • Clouds are white because their droplets are too large for wavelength-dependent scattering.

Sunlight arriving at the top of the atmosphere contains all the visible wavelengths together, which is why it looks white. By the time it reaches your eye from a patch of empty sky, it looks blue. Something has separated the colours on the way down, and the explanation also tells you why sunsets are red, why clouds are white, and why the sky on Mars is the wrong colour.

Scattering depends very steeply on wavelength

Air molecules, mostly nitrogen and oxygen, are far smaller than the wavelength of visible light. Light interacting with particles that small is scattered in the way described by Rayleigh scattering, named after the British physicist Lord Rayleigh, who worked it out in the 1870s. The crucial feature is how steeply it depends on wavelength: the amount of scattering is proportional to one over the wavelength to the fourth power.

That fourth power does a great deal of work. Blue light at around 450 nanometres is scattered roughly five times more strongly than red light at around 700 nanometres. When you look at a part of the sky away from the sun, what reaches your eye is not light travelling straight from the sun. It is light that has been redirected towards you by the air, and that redirected light is overwhelmingly the short wavelengths.

Rayleigh scattering by wavelength, and the effect of atmospheric path lengthA bar chart showing scattering rising steeply as wavelength shortens: violet at 400 nanometres scatters about nine times as strongly as red at 700 nanometres, blue at 450 about six times, green at 550 about two and a half times. Beneath it, a diagram contrasts the short atmospheric path at noon, which delivers a blue sky, with the long slanted path at sunset, from which the short wavelengths have already been scattered away, leaving red.Scattering strength, relative to red lightProportional to 1 divided by wavelength to the fourth power9x5x1xvioletbluegreenorangered400 nm450 nm550 nm600 nm700 nm9.45.92.6Why the same air gives blue at noon and red at sunsetatmospheregroundgroundnoon: short pathblue still being scattered to yousunset: long pathblue already scattered out; red arrives
The fourth-power relationship is what makes the effect so lopsided: at 450 nm, blue is scattered close to six times as strongly as red at 700 nm. At sunset the beam travels far enough through the atmosphere that the short wavelengths have been scattered out of it before it reaches you. Diagram by HRITU; values calculated from the Rayleigh 1/λ⁴ relationship described above.

The sun itself looks yellowish for the mirror-image reason: the blue has been taken out of the direct beam and spread across the rest of the sky.

So why is the sky not violet?

Violet has an even shorter wavelength than blue and is scattered even more strongly, so on the physics alone the sky ought to look violet. It does not, for two reasons acting together.

  • There is less violet to begin with. The sun does not emit equally across the spectrum. Its output falls away at the violet end, so there is simply less violet light entering the atmosphere to be scattered.
  • Our eyes are poor at violet. Human colour vision depends on three types of cone cell, and their combined sensitivity drops sharply towards the violet end. The violet that does arrive contributes far less to the colour we perceive than its intensity suggests.

What actually reaches your brain is a mixture of scattered violet, blue and some green, weighted by a visual system that is much more responsive to the blue part of that mixture. The mixture reads as blue. A camera with different spectral sensitivity, or an eye built differently, would not necessarily agree with us.

The same physics explains sunset

Near the horizon at sunset, light travels a much longer path through the atmosphere before it reaches you, perhaps forty times the vertical thickness. The short wavelengths have been scattered out of the direct beam long before it arrives, leaving the long ones behind. The sky is red at sunset for exactly the reason it is blue at noon: it is the same process, seen from the other end.

This is also why sunsets are more vivid when there is dust or smoke in the air. Larger particles scatter and absorb differently, removing more of the middle of the spectrum and leaving deeper reds and oranges. Major volcanic eruptions have produced unusually red sunsets worldwide for months afterwards.

And why clouds are white

Cloud droplets are far larger than air molecules, comparable to or bigger than the wavelength of light. Scattering by particles that size is described by Mie theory rather than Rayleigh scattering, and its key property is that it is not strongly wavelength-dependent. All the colours scatter roughly equally, and the result is white.

A thick cloud looks grey for a different reason again: so much light has been scattered on the way through that comparatively little reaches you from underneath. It is not a change of colour, it is a loss of brightness.

Elsewhere in the solar system

The colour of a sky is a property of its atmosphere, not of sunlight. Mars has a thin atmosphere loaded with fine dust, which absorbs blue light and gives a butterscotch daytime sky, and its sunsets are blue near the sun for reasons that invert the situation on Earth. On the Moon, with effectively no atmosphere, there is nothing to scatter anything: the sky is black even at midday, with the sun blazing.

More everyday science

For another piece of everyday optics and orbital mechanics, see why the Moon always shows us the same face. For biology built around an equally unintuitive constraint, why an octopus has three hearts. For chemistry rather than physics, why onions make you cry. For what that same atmosphere does once it starts moving, why the wind blows.

Sources

  1. Rayleigh scattering
  2. Diffuse sky radiation
  3. NASA Science, Visible Light
  4. NASA, on the colour of Martian sunsets
  5. Lord Rayleigh, “On the light from the sky, its polarization and colour”, Philosophical Magazine, 1871

Frequently asked questions

You are looking through much more air in that direction. Light from near the horizon has been scattered many times over, mixing the colours back together, and it also picks up more haze and dust near the ground. Multiple scattering pushes it back towards white.

Neither causes the other, though the sea does reflect the sky. Water is itself faintly blue in bulk, because it absorbs red light slightly more than blue, which is a different mechanism from Rayleigh scattering.

There is less atmosphere above you and usually less dust and water vapour in it, so less multiple scattering dilutes the colour. Thinner, cleaner air gives a darker, more saturated sky.

HRITU Editorial Desk is the byline for pieces produced in-house by the HRITU editorial team. We write about cooking, travel, science and everyday knowledge, and we explain the reasoning behind what we publish rather than just stating conclusions. Every article is checked against primary or reference sources before it goes out, dated on publication, and updated in the open when we learn something is wrong. Corrections and questions are welcome at info@hritu.com.

Join the discussion