# Black and violet nebula

Seamless black, blue and purple gradient with 7 colors: #02030a, #110f47, #492ca3, #a53fda, #7a1173, #310125, #030102. Edit it and copy or download CSS, SVG, PNG or shader code.

- Also called: Seamless black, blue and purple gradient
- Seed: `kWGRLFpjM_8nTw-mL0MCga_4`
- Page: https://grabient.com/kWGRLFpjM_8nTw-mL0MCga_4
- Drawn as: linear gradient, 7 steps, 90 degrees
- Kinds: light center, vivid, dark, seamless
- Hues: analogous
- Contrast of its darkest and lightest colors: 4.2 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 | `#02030a` | `oklch(9.84% 0.0248 277.73)` | Ninja | white, 20.6 to 1 |
| 2 | `#110f47` | `oklch(21.90% 0.0996 275.23)` | Deadly Depths | white, 17.7 to 1 |
| 3 | `#492ca3` | `oklch(40.73% 0.1794 286.78)` | Galactic Purple | white, 9.6 to 1 |
| 4 | `#a53fda` | `oklch(57.87% 0.2301 311.55)` | Magenta Affair | white, 4.8 to 1 |
| 5 | `#7a1173` | `oklch(40.87% 0.1709 331.39)` | Pure Purple | white, 9.7 to 1 |
| 6 | `#310125` | `oklch(21.32% 0.0890 339.93)` | Vienna Roast | white, 18 to 1 |
| 7 | `#030102` | `oklch(7.87% 0.0179 337.97)` | Raven’s Coat | white, 20.8 to 1 |

## CSS

```css
background: linear-gradient(90deg, #02030a 0.0%, #110f47 16.7%, #492ca3 33.3%, #a53fda 50.0%, #7a1173 66.7%, #310125 83.3%, #030102 100.0%);
background: linear-gradient(90deg in oklch, oklch(9.84% 0.0248 277.73) 0.0%, oklch(21.90% 0.0996 275.23) 16.7%, oklch(40.73% 0.1794 286.78) 33.3%, oklch(57.87% 0.2301 311.55) 50.0%, oklch(40.87% 0.1709 331.39) 66.7%, oklch(21.32% 0.0890 339.93) 83.3%, oklch(7.87% 0.0179 337.97) 100.0%);
```

## Keyframes

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

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.098 | 0.025 | 277.7 |
| 2 | 0.299 | 0.141 | 277.7 |
| 3 | 0.579 | 0.23 | 311.6 |
| 4 | 0.299 | 0.13 | 338 |
| 5 | 0.079 | 0.018 | 338 |

## In these collections

- [Galaxy gradients](https://grabient.com/galaxy-gradients)
- [Synthwave gradients](https://grabient.com/synthwave-gradients)

## Other forms

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