# Midnight navy to violet

Analogous navy to purple gradient with 7 colors: #070927, #0f0d38, #1e1253, #341871, #552493, #8031b5, #a339ca. Edit it and copy or download CSS, SVG, PNG or shader code.

- Also called: Analogous navy to purple gradient
- Seed: `kSKSzDp7NBsdQQu`
- Page: https://grabient.com/kSKSzDp7NBsdQQu
- Drawn as: linear gradient, 7 steps, 90 degrees
- Kinds: dark to light, vivid, dark
- Hues: analogous
- Contrast of its darkest and lightest colors: 3.7 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 | `#070927` | `oklch(16.14% 0.0606 274.92)` | Mysterious Depths | white, 19.4 to 1 |
| 2 | `#0f0d38` | `oklch(19.66% 0.0814 278.37)` | Grim Reaper | white, 18.4 to 1 |
| 3 | `#1e1253` | `oklch(24.83% 0.1110 283.45)` | Praise of Shadow | white, 16.5 to 1 |
| 4 | `#341871` | `oklch(31.10% 0.1406 289.72)` | Persian Indigo | white, 13.8 to 1 |
| 5 | `#552493` | `oklch(39.56% 0.1702 298.33)` | Eine Kleine Nachtmusik | white, 10.2 to 1 |
| 6 | `#8031b5` | `oklch(49.11% 0.1998 308.11)` | Purple Pristine | white, 6.9 to 1 |
| 7 | `#a339ca` | `oklch(55.91% 0.2205 315.08)` | Purple Vanity | white, 5.2 to 1 |

## CSS

```css
background: linear-gradient(90deg, #070927 0.0%, #0f0d38 16.7%, #1e1253 33.3%, #341871 50.0%, #552493 66.7%, #8031b5 83.3%, #a339ca 100.0%);
background: linear-gradient(90deg in oklch, oklch(16.14% 0.0606 274.92) 0.0%, oklch(19.66% 0.0814 278.37) 16.7%, oklch(24.83% 0.1110 283.45) 33.3%, oklch(31.10% 0.1406 289.72) 50.0%, oklch(39.56% 0.1702 298.33) 66.7%, oklch(49.11% 0.1998 308.11) 83.3%, oklch(55.91% 0.2205 315.08) 100.0%);
```

## Keyframes

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

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.161 | 0.061 | 274.9 |
| 2 | 0.311 | 0.141 | 289.7 |
| 3 | 0.559 | 0.22 | 315.1 |

## In these collections

- [Cyberpunk gradients](https://grabient.com/cyberpunk-gradients)
- [Retro gradients](https://grabient.com/retro-gradients)
- [Synthwave gradients](https://grabient.com/synthwave-gradients)

## Other forms

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