Dark Purple to Dark Sanctuary Gradient
CSS
background: linear-gradient(90deg, #35063e 0%, #3f012c 100%);
From Dark Purple (#35063E) to Dark Sanctuary (#3F012C). The two hues are 28° 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 | |
|---|---|---|---|---|---|
| Dark Purple | #35063E | 53, 6, 62 | 290°, 82%, 13% | 15, 90, 0, 76 | |
| 25% (near Dark Purple) | #38053A | 56, 5, 58 | 298°, 84%, 12% | 3, 91, 0, 77 | |
| 50% (near Dark Purple) | #3A0435 | 58, 4, 53 | 306°, 87%, 12% | 0, 93, 9, 77 | |
| 75% (near Dark Sanctuary) | #3D0231 | 61, 2, 49 | 312°, 94%, 12% | 0, 97, 20, 76 | |
| Dark Sanctuary | #3F012C | 63, 1, 44 | 318°, 97%, 13% | 0, 98, 30, 75 |
Halfway along, the gradient is #3A0435, closest to the named color Dark Purple. 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.00:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #35063e, #3f012c) - Diagonal:
linear-gradient(135deg, #35063e, #3f012c) - Radial, from the center out:
radial-gradient(circle, #35063e, #3f012c) - Tailwind CSS:
bg-gradient-to-r from-[#35063e] to-[#3f012c]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Questions
What are the HEX codes of the Dark Purple to Dark Sanctuary gradient?
It starts at #35063E (Dark Purple) and ends at #3F012C (Dark Sanctuary), with #3A0435 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #35063e, #3f012c) runs from Dark Sanctuary on the left to Dark Purple on the right.