# Midnight to bright violet

Analogous black, navy and purple gradient with 7 colors: #03030c, #0a071c, #1b0e40, #341276, #591eaf, #843adf, #ac5afe. Edit it and copy or download CSS, SVG, PNG or shader code.

- Also called: Analogous black, navy and purple gradient
- Seed: `kWGxLIFxbAye3wA80cC0dVAw`
- Page: https://grabient.com/kWGxLIFxbAye3wA80cC0dVAw
- Drawn as: linear gradient, 7 steps, 90 degrees
- Kinds: dark to light, vivid, dark, cool
- Hues: monochromatic
- Contrast of its darkest and lightest colors: 5.5 to 1

## Colors

The name most people give each color, and the text color that reads on it with its contrast.

| Stop | Hex | OKLCH | Name | Text on it |
| --- | --- | --- | --- | --- |
| 1 | `#03030c` | `oklch(10.63% 0.0248 281.25)` | Ninja | white, 20.5 to 1 |
| 2 | `#0a071c` | `oklch(14.93% 0.0442 286.38)` | Not Tonight | white, 19.7 to 1 |
| 3 | `#1b0e40` | `oklch(21.90% 0.0891 289.27)` | Shadow Planet | white, 17.7 to 1 |
| 4 | `#341276` | `oklch(31.10% 0.1530 289.70)` | Persian Indigo | white, 13.9 to 1 |
| 5 | `#591eaf` | `oklch(41.99% 0.2060 293.66)` | Rabbit-Ear Iris | white, 9.4 to 1 |
| 6 | `#843adf` | `oklch(53.76% 0.2328 298.71)` | Thick Purple | white, 5.7 to 1 |
| 7 | `#ac5afe` | `oklch(64.17% 0.2343 303.44)` | Vega Violet | black, 5.6 to 1 |

## CSS

```css
background: linear-gradient(90deg, #03030c 0.0%, #0a071c 16.7%, #1b0e40 33.3%, #341276 50.0%, #591eaf 66.7%, #843adf 83.3%, #ac5afe 100.0%);
background: linear-gradient(90deg in oklch, oklch(10.63% 0.0248 281.25) 0.0%, oklch(14.93% 0.0442 286.38) 16.7%, oklch(21.90% 0.0891 289.27) 33.3%, oklch(31.10% 0.1530 289.70) 50.0%, oklch(41.99% 0.2060 293.66) 66.7%, oklch(53.76% 0.2328 298.71) 83.3%, oklch(64.17% 0.2343 303.44) 100.0%);
```

## Keyframes

5 OKLCH keyframes joined by a Catmull-Rom spline. Hue is unwrapped degrees.

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.106 | 0.025 | 281.3 |
| 2 | 0.181 | 0.062 | 288.6 |
| 3 | 0.311 | 0.153 | 289.7 |
| 4 | 0.476 | 0.225 | 296 |
| 5 | 0.642 | 0.234 | 303.4 |

## In these collections

- [Cyber Monday gradients](https://grabient.com/cyber-monday-gradients)

## Other forms

- [JSON](https://grabient.com/kWGxLIFxbAye3wA80cC0dVAw.json)
- [PNG](https://grabient.com/kWGxLIFxbAye3wA80cC0dVAw.png)
- [SVG](https://grabient.com/kWGxLIFxbAye3wA80cC0dVAw.svg)
- [CSS](https://grabient.com/kWGxLIFxbAye3wA80cC0dVAw.css)
- [ASE](https://grabient.com/kWGxLIFxbAye3wA80cC0dVAw.ase)
- [GPL](https://grabient.com/kWGxLIFxbAye3wA80cC0dVAw.gpl)
- [GRD](https://grabient.com/kWGxLIFxbAye3wA80cC0dVAw.grd)
- [Design tokens](https://grabient.com/kWGxLIFxbAye3wA80cC0dVAw.tokens.json)
- [Social card](https://grabient.com/api/og?seed=kWGxLIFxbAye3wA80cC0dVAw)
- [Palettes like this one](https://grabient.com/palettes?q=kWGxLIFxbAye3wA80cC0dVAw)
- [Guide for agents](https://grabient.com/llms.txt)
