Cotinga Purple to Cloak and Dagger Gradient
CSS
background: linear-gradient(90deg, #340059 0%, #550055 100%);
From Cotinga Purple (#340059) to Cloak and Dagger (#550055). The two hues are 25° 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 | |
|---|---|---|---|---|---|
| Cotinga Purple | #340059 | 52, 0, 89 | 275°, 100%, 17% | 42, 100, 0, 65 | |
| 25% (near Cotinga Purple) | #3C0058 | 60, 0, 88 | 281°, 100%, 17% | 32, 100, 0, 65 | |
| 50% (near Clairvoyant) | #450057 | 69, 0, 87 | 288°, 100%, 17% | 21, 100, 0, 66 | |
| 75% (near Clairvoyant) | #4D0056 | 77, 0, 86 | 294°, 100%, 17% | 10, 100, 0, 66 | |
| Cloak and Dagger | #550055 | 85, 0, 85 | 300°, 100%, 17% | 0, 100, 0, 67 |
Halfway along, the gradient is #450057, 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.18:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #340059, #550055) - Diagonal:
linear-gradient(135deg, #340059, #550055) - Radial, from the center out:
radial-gradient(circle, #340059, #550055) - Tailwind CSS:
bg-gradient-to-r from-[#340059] 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 Cotinga Purple to Cloak and Dagger gradient?
It starts at #340059 (Cotinga Purple) and ends at #550055 (Cloak and Dagger), with #450057 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #340059, #550055) runs from Cloak and Dagger on the left to Cotinga Purple on the right.