Ravenclaw to Hollow Knight Gradient
CSS
background: linear-gradient(90deg, #0a0555 0%, #330055 100%);
From Ravenclaw (#0A0555) to Hollow Knight (#330055). The two hues are 32° 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 | |
|---|---|---|---|---|---|
| Ravenclaw | #0A0555 | 10, 5, 85 | 244°, 89%, 18% | 88, 94, 0, 67 | |
| 25% (near Ravenclaw) | #140455 | 20, 4, 85 | 252°, 91%, 17% | 76, 95, 0, 67 | |
| 50% (near Space Colonisation) | #1F0355 | 31, 3, 85 | 260°, 93%, 17% | 64, 96, 0, 67 | |
| 75% (near Hollow Knight) | #290155 | 41, 1, 85 | 269°, 98%, 17% | 52, 99, 0, 67 | |
| Hollow Knight | #330055 | 51, 0, 85 | 276°, 100%, 17% | 40, 100, 0, 67 |
Halfway along, the gradient is #1F0355, closest to the named color Space Colonisation. 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.09:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #0a0555, #330055) - Diagonal:
linear-gradient(135deg, #0a0555, #330055) - Radial, from the center out:
radial-gradient(circle, #0a0555, #330055) - Tailwind CSS:
bg-gradient-to-r from-[#0a0555] to-[#330055]
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 Ravenclaw to Hollow Knight gradient?
It starts at #0A0555 (Ravenclaw) and ends at #330055 (Hollow Knight), with #1F0355 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #0a0555, #330055) runs from Hollow Knight on the left to Ravenclaw on the right.