matt-seymour-313060-unsplash

Semi-Permanent Hair Colour: The Science

I have always been a fan of semi-permanent hair colour.

My own hair has certainly been testimony to that, with regular changes from violet to purple, denim to grey and quite a few shades in between! And judging by the wonderful colours we see in salons and across social media, I’m certainly not alone.

But what makes semi-permanent colour so interesting isn’t simply the range of shades available. It’s the chemistry behind them. Unlike permanent oxidative colours, which rely on chemical reactions to produce colour within the hair, a true semi-permanent colour uses dyes that are already coloured.

They’re called direct-acting dyes.

And although that sounds relatively straightforward, the way these dyes interact with the hair fibre is surprisingly fascinating. So, let’s have a closer look.

What Are Direct-Acting Dyes?

Semi Cross section no.1
Cross-section of a Semi-permanent colour attached to the cuticle layers

The simplest way to explain a direct dye is that the molecule already has its colour before we apply it to the hair. A yellow dye is yellow. A red dye is red. And a blue dye is blue. Of course, manufacturers combine different dyes to create everything from beautiful natural-looking shades to the most vibrant fashion colours.

The final colour we see depends on the combination of dyes, their concentration, the formulation and, importantly, the starting hair colour. Direct dyes don’t need to undergo an oxidative colour-forming reaction to become coloured. That is one of the fundamental differences between a true semi-permanent colour and a permanent oxidative colour.

And it also means that a conventional ready-to-use semi-permanent colour cannot lighten the hair’s natural melanin in the way an appropriate oxidative colouring system can. Now, if you enjoy reading ingredient lists, you’ll find some wonderfully impressive chemical names associated with direct dyes.

Names such as nitroaminophenols, nitrophenylenediamines and nitroanilines.

Quite a mouthful!

But imagine how impressive you’d sound if you could casually recite a few of those at a posh dinner party. Although I suspect you’d soon find yourself sitting alone! These are examples of dye families rather than a complete list of every direct dye used in modern formulations. And that distinction matters because not all direct dyes behave in the same way.

How Do We Make the Dyes Stick?

If we simply placed coloured molecules on the outside of the hair without any meaningful interaction, much of the colour would disappear as soon as we rinsed it.

So we need the dyes to have an affinity for the hair fibre. That affinity can involve several different interactions. Some dyes are attracted to electrically charged sites within the hair. Others can interact through hydrogen bonding and other molecular forces. And some dyes can move into the fibre, where their retention depends on how readily they can move back out again.

The important point is that there isn’t just one mechanism responsible for all semi-permanent colour.

The chemistry depends on the particular dye molecules and the formulation carrying them.

For simplicity, we can divide many direct dyes into three useful categories:

  • Cationic dyes (+) — positively charged.
  • Anionic dyes (−) — negatively charged.
  • Non-ionic dyes (0) — without an overall electrical charge.

These categories help us understand some important differences, but they don’t tell us everything about how an individual dye will perform. And that brings us to my favourite group.

Cationic Dyes — Positively Charged and Attracted to Hair

Cationic dyes have a positive electrical charge. You’ll sometimes hear them referred to as basic dyes. Under many normal cosmetic colouring conditions, the hair fibre carries negatively charged sites, particularly where certain chemical groups within the keratin and associated structures have lost a hydrogen ion.

And as we know from basic chemistry, opposite electrical charges attract. So a positively charged dye can be attracted to negatively charged sites within the hair fibre. This is known as electrostatic attraction.

It’s a very useful part of the explanation for why many cationic dyes deposit so readily onto hair. But it isn’t the whole explanation. A cationic dye doesn’t simply find a negative site, attach itself and behave exactly like every other cationic dye. Its molecular structure, size, shape, solubility and other chemical properties influence its behaviour. So do the ingredients surrounding it in the formulation.

And, of course, the condition of the hair.

Why Does Porous Hair Sometimes Grab More Colour?

Hair that has undergone bleaching, weathering or other chemical treatments may have more exposed or newly formed negatively charged groups. That can increase its attraction for certain cationic dyes.

A head of hair isn’t necessarily equally porous from roots to ends. And even within one section, individual fibres may differ.

So when someone tells me a particular direct colour has grabbed on the ends, I don’t immediately assume the colour itself is faulty. I want to know what has happened to those ends.

At the same time, changes to the cuticle and internal fibre structure may influence how readily dye molecules enter and leave the hair. This helps explain why some porous hair can take up direct colour very quickly. But it also explains why the result can be uneven.

What treatments have they experienced?

How different is their condition from the rest of the hair?

And how might that affect the dyes we’re applying?

Hand drawn direct acting dyes
A few of my drawings of direct-acting dyes

Does Every Cationic Dye Behave the Same Way?

Absolutely not!

Two cationic dyes can have very different colouring strengths, affinities for hair and resistance to shampooing. One may produce a strong result relatively quickly. Another may deposit more slowly or fade differently. And when several dyes are combined to create a shade, they may not all disappear at the same rate. Which is one reason a beautifully balanced colour can gradually change tone as it fades. The dyes aren’t necessarily leaving the hair together.

I find that particularly interesting from a formulation point of view.

Because creating a shade isn’t simply a matter of choosing the right colour combination on day one. We also need to consider how that combination will behave over time.

Non-Ionic Dyes — No Overall Charge, but Plenty of Chemistry

Non-ionic dyes don’t carry an overall electrical charge.

Many of the familiar nitro dyes used in semi-permanent colouring belong to this category. Because they aren’t relying primarily on electrostatic attraction to charged sites in the hair, their behaviour can be quite different from that of cationic dyes. Some are relatively small molecules that can diffuse into the outer regions of the hair fibre, and in suitable conditions some can penetrate further.

But I wouldn’t want us to assume that every non-ionic dye is small, or that every non-ionic dye penetrates more deeply than every cationic dye. That simply isn’t true.

Molecular size and shape are important, but so are solubility, affinity for the hair, formulation ingredients, processing conditions and the structure of the fibre itself. Once inside the hair, these dyes may be retained through a combination of molecular interactions and the physical difficulty of moving back out.

And, like cationic dyes, different non-ionic dyes can show very different rates of uptake and fading. So even without an electrical charge, there’s still plenty of chemistry going on!

What About Anionic Dyes?

Anionic dyes carry a negative electrical charge.

They’re often referred to as acid dyes, although that name describes a traditional dye category rather than telling us everything about the pH of the finished product. Because hair commonly has negatively charged sites under many colouring conditions, anionic dyes don’t generally benefit from the same straightforward electrostatic attraction as cationic dyes.

But hair isn’t uniformly negative. Its electrical properties depend on pH and the different chemical groups present within the fibre. Under suitable conditions, positively charged sites can attract anionic dyes. Formulators can also use other ingredients and formulation strategies to influence deposition and retention. So anionic dyes certainly can be used to colour hair.

What we shouldn’t assume is that all anionic formulations work by temporarily reversing the hair’s charge and then trapping the dye when that charge changes back. That may sound like a convenient explanation, but it isn’t a universal mechanism.

And because anionic dyes are less familiar to me than cationic systems, I’d rather keep this explanation accurate and straightforward than suggest a mechanism that doesn’t apply to every formulation.

After all, the purpose of understanding the chemistry is to explain what happens — not to make it sound more mysterious!

Direct Dye in Hair_ Lab Notes

How Far Do Direct Dyes Penetrate?

This is another area where we need to be careful with generalisations.

It’s tempting to imagine all the larger dye molecules sitting on the outside of the cuticle, while all the smaller ones slip neatly between the cuticle layers. But real hair isn’t quite so accommodating. The cuticle is a complex, layered structure, and dye movement depends on more than molecular size alone.

Some dyes remain concentrated near the surface and outer cuticle. Others can move further into the fibre. Their behaviour depends on the properties of the dye, the formulation and the condition of the hair.

And remember, the cuticle doesn’t simply open and close like a little door! The hair fibre can swell, its permeability can change, and molecules can diffuse through available pathways. But that is rather different from imagining the cuticle scales lifting up to let the colour in and closing again to lock it away.

This is also why two semi-permanent formulations containing similar dye types may produce quite different results.

The finished formulation matters just as much as the category of dye.

Why Does Semi-Permanent Colour Fade?

If direct dyes have an affinity for hair, why don’t they stay there indefinitely?

Because the interactions retaining them are not necessarily permanent. During shampooing, water enters the hair fibre and the surrounding formulation changes. Surfactants help remove materials from the hair, and some dye molecules can gradually diffuse out into the wash water. But they don’t all leave at the same rate. The dye’s chemical structure, its affinity for the hair and how deeply it has penetrated all influence its durability.

So does the condition of the hair and the way it is washed and cared for. A colour containing several different dyes may therefore change tone as it fades. For example, if one component of a violet shade is lost more quickly than another, the remaining colour may gradually look warmer or cooler. And anyone who has experimented with vibrant colours will know that fading can sometimes be just as interesting as the original result!

Of course, it isn’t always the result we were hoping for. Which is why understanding the behaviour of individual dyes is so important when developing a formulation.

Hair Color Fade and Residual Staining Infographic

And What About Staining?

Ah, yes.

The part that can make a colourist’s life rather interesting! Semi-permanent colour is often described as temporary or easily washed out.

But some direct dyes can remain in the hair long after the original colour has faded. This is particularly noticeable on certain porous, bleached or naturally white fibres. The dye may have penetrated into regions of the fibre where it is not readily removed by ordinary shampooing. Or it may have a strong affinity for particular components of the hair.

However, not every direct dye leaves a permanent stain.

Some are removed relatively easily. Others can leave persistent residual colour. And the result depends on the individual dye, the formulation and the hair. That distinction is important when planning a subsequent colour service. A client may feel that their semi-permanent colour has completely disappeared because the original shade is no longer obvious. But residual dye molecules may still influence the result of another colour applied over the top. Particularly if we’re trying to create a much lighter or very different shade.

So before making promises about colour removal, I’d always want to understand what has been applied previously and assess the hair carefully. A test strand can tell us far more than the words semi-permanent on a product label.

Where Else Do We Find Direct Dyes?

Direct dyes aren’t limited to products sold as semi-permanent hair colours.

You’ll find them used in a variety of colouring systems, including:

  • Colour-depositing shampoos, designed to add, maintain or modify tone.
  • Colour-depositing conditioners and masks, combining conditioning with colour deposition.
  • Ready-to-use semi-permanent colours, from natural shades to vivid fashion tones.
  • Some oxidative colour formulations, where selected direct dyes may be included alongside the oxidative colouring system.
  • Certain specialist lightening-and-colouring systems, depending on their particular chemistry.

The important point is that the presence of a direct dye doesn’t automatically tell us how the entire product works. A formulation may contain direct dyes and still rely on oxidative chemistry for other parts of its colouring effect. Which is why understanding the complete product is always more useful than recognising one ingredient.

So, What Makes Semi-Permanent Colour So Special?

For me, it’s the flexibility.

Direct dyes allow us to create beautiful colour effects without necessarily changing the natural melanin through oxidative lightening. They can enhance, correct, blend or completely transform the appearance of the hair, depending on the starting colour and the formulation.

But the chemistry behind them is far from simple. Cationic dyes can be attracted to negatively charged sites within the hair. Non-ionic dyes can interact with and diffuse into the fibre through different mechanisms. Anionic dyes require their own suitable conditions and formulation strategies. And within every category, individual dyes can behave quite differently.

That’s what makes formulation so fascinating.

And it’s also why we shouldn’t promise that every semi-permanent colour will wash out neatly after a particular number of shampoos. Because hair, as we know, has a wonderful habit of challenging our expectations! The more we understand about the dyes and the hair fibre, the better equipped we are to make informed colour choices. And the more interesting our conversations with clients can become.

Although I still wouldn’t recommend opening a dinner party conversation with nitrophenylenediamine.

Unless, of course, you’re sitting next to a chemist.

Then you might have a wonderful evening!

Happy colouring!

Learned & Still Learning.


Further Reading

Originally published January 2019. Scientifically reviewed and updated November 2026.