Hollow Knight to Cloak and Dagger Gradient
CSS
background: linear-gradient(90deg, #330055 0%, #550055 100%);
From Hollow Knight (#330055) to Cloak and Dagger (#550055). The two hues are 24° apart on the color wheel, close enough that the blend stays clean without a muddy middle.
Colors along the gradient
| Name | HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|---|
| Hollow Knight | #330055 | 51, 0, 85 | 276°, 100%, 17% | 40, 100, 0, 67 | |
| 25% (near Cotinga Purple) | #3C0055 | 60, 0, 85 | 282°, 100%, 17% | 29, 100, 0, 67 | |
| 50% (near Clairvoyant) | #440055 | 68, 0, 85 | 288°, 100%, 17% | 20, 100, 0, 67 | |
| 75% (near Clairvoyant) | #4D0055 | 77, 0, 85 | 294°, 100%, 17% | 9, 100, 0, 67 | |
| Cloak and Dagger | #550055 | 85, 0, 85 | 300°, 100%, 17% | 0, 100, 0, 67 |
Halfway along, the gradient is #440055, closest to the named color Clairvoyant. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
White text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 1.19:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #330055, #550055) - Diagonal:
linear-gradient(135deg, #330055, #550055) - Radial, from the center out:
radial-gradient(circle, #330055, #550055) - Tailwind CSS:
bg-gradient-to-r from-[#330055] to-[#550055]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Related gradients
Questions
What are the HEX codes of the Hollow Knight to Cloak and Dagger gradient?
It starts at #330055 (Hollow Knight) and ends at #550055 (Cloak and Dagger), with #440055 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #330055, #550055) runs from Cloak and Dagger on the left to Hollow Knight on the right.