Fabric of Space to Purple Velour Gradient
CSS
background: linear-gradient(90deg, #341758 0%, #581a57 100%);
From Fabric of Space (#341758) to Purple Velour (#581A57). The two hues are 34° 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 | |
|---|---|---|---|---|---|
| Fabric of Space | #341758 | 52, 23, 88 | 267°, 59%, 22% | 41, 74, 0, 65 | |
| 25% (near Plunged Into Darkness) | #3D1858 | 61, 24, 88 | 275°, 57%, 22% | 31, 73, 0, 65 | |
| 50% (near Plunged Into Darkness) | #461958 | 70, 25, 88 | 283°, 56%, 22% | 20, 72, 0, 65 | |
| 75% (near Purple Velour) | #4F1957 | 79, 25, 87 | 292°, 55%, 22% | 9, 71, 0, 66 | |
| Purple Velour | #581A57 | 88, 26, 87 | 301°, 54%, 22% | 0, 70, 1, 65 |
Halfway along, the gradient is #461958, closest to the named color Plunged Into Darkness. 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.21:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #341758, #581a57) - Diagonal:
linear-gradient(135deg, #341758, #581a57) - Radial, from the center out:
radial-gradient(circle, #341758, #581a57) - Tailwind CSS:
bg-gradient-to-r from-[#341758] to-[#581a57]
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 Fabric of Space to Purple Velour gradient?
It starts at #341758 (Fabric of Space) and ends at #581A57 (Purple Velour), with #461958 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #341758, #581a57) runs from Purple Velour on the left to Fabric of Space on the right.