# Black and violet nebula

Seamless black, blue and purple gradient with 5 colors: #02030a, #231b71, #a53fda, #520143, #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?steps=5&angle=135
- Drawn as: linear gradient, 5 steps, 135 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 | `#231b71` | `oklch(29.92% 0.1406 277.73)` | 20000 Leagues Under the Sea | white, 14.3 to 1 |
| 3 | `#a53fda` | `oklch(57.87% 0.2301 311.55)` | Magenta Affair | white, 4.8 to 1 |
| 4 | `#520143` | `oklch(29.92% 0.1295 337.97)` | Royal Ash | white, 14.5 to 1 |
| 5 | `#030102` | `oklch(7.87% 0.0179 337.97)` | Raven’s Coat | white, 20.8 to 1 |

## CSS

```css
background: linear-gradient(135deg, #02030a 0.0%, #231b71 25.0%, #a53fda 50.0%, #520143 75.0%, #030102 100.0%);
background: linear-gradient(135deg in oklch, oklch(9.84% 0.0248 277.73) 0.0%, oklch(29.92% 0.1406 277.73) 25.0%, oklch(57.87% 0.2301 311.55) 50.0%, oklch(29.92% 0.1295 337.97) 75.0%, 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?steps=5&angle=135)
- [PNG](https://grabient.com/kWGRLFpjM_8nTw-mL0MCga_4.png?steps=5&angle=135)
- [SVG](https://grabient.com/kWGRLFpjM_8nTw-mL0MCga_4.svg?steps=5&angle=135)
- [CSS](https://grabient.com/kWGRLFpjM_8nTw-mL0MCga_4.css?steps=5&angle=135)
- [ASE](https://grabient.com/kWGRLFpjM_8nTw-mL0MCga_4.ase?steps=5&angle=135)
- [GPL](https://grabient.com/kWGRLFpjM_8nTw-mL0MCga_4.gpl?steps=5&angle=135)
- [GRD](https://grabient.com/kWGRLFpjM_8nTw-mL0MCga_4.grd?steps=5&angle=135)
- [Design tokens](https://grabient.com/kWGRLFpjM_8nTw-mL0MCga_4.tokens.json?steps=5&angle=135)
- [Social card](https://grabient.com/api/og?seed=kWGRLFpjM_8nTw-mL0MCga_4&steps=5&angle=135)
- [Palettes like this one](https://grabient.com/palettes?q=kWGRLFpjM_8nTw-mL0MCga_4)
- [Guide for agents](https://grabient.com/llms.txt)
