# #312254 color: Stormy Night

#312254 is rgb(49, 34, 84) in RGB and oklch(29.841% 0.0874 294.323) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/312254

## Formats

| Format | Value |
| --- | --- |
| HEX | #312254 |
| RGB | rgb(49, 34, 84) |
| HSL | hsl(258, 42.37%, 23.14%) |
| HSB / HSV | hsv(258 59.52% 32.94%) |
| HWB | hwb(258 13.33% 67.06%) |
| CMYK | cmyk(42% 60% 0% 67%) |
| Lab | lab(17.31 17.5 -28.43) |
| LCH | lch(17.31 33.39 301.61) |
| OKLab | oklab(29.841% 0.036 -0.07965) |
| OKLCH | oklch(29.841% 0.0874 294.323) |
| Display P3 | color(display-p3 0.18317 0.13571 0.31788) |
| Rec. 2020 | color(rec2020 0.12199 0.08027 0.25607) |
| Adobe RGB | color(a98-rgb 0.19195 0.15253 0.32714) |
| ProPhoto RGB | color(prophoto-rgb 0.15281 0.11218 0.24432) |
| Linear sRGB | color(srgb-linear 0.03071 0.016 0.08866) |
| XYZ D65 | color(xyz-d65 0.03439 0.02437 0.08677) |
| XYZ D50 | color(xyz-d50 0.03224 0.02368 0.06529) |
| SwiftUI | Color(red: 0.192, green: 0.133, blue: 0.329) |
| UIKit | UIColor(red: 0.192, green: 0.133, blue: 0.329, alpha: 1) |
| Flutter / Compose | Color(0xFF312254) |
| Android XML | #312254 |

## Facts

- Closest name: Stormy Night
- Hue family: Violet, soft very dark violet
- Closest Tailwind class: blue-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 14.12:1
- Contrast with black: 1.49:1

## Tints

#312254, #423664, #544a75, #685f86, #7b7497, #908aa8, #a5a1b9, #bbb7ca, #d1cfdc, #e8e7ed

## Shades

#312254, #291c48, #22163c, #1a1131, #130b26, #0c071b, #060311, #030108, #010002, #000000

## Tones

#312254, #302450, #30254d, #2f2749, #2f2845, #2f2941, #2e2a3d, #2e2b39, #2e2c35, #2d2d31

## Harmonies

- Complementary: #312254, #2d3100
- Split: #312254, #402900, #07380c
- Analogous: #312254, #162a59, #421b45
- Triadic: #312254, #4d1d00, #00392b
- Tetradic: #312254, #4d1630, #2d3100, #00392b
- Square: #312254, #511616, #2d3100, #00373e
- Monochromatic: #312254, #0a0023, #160333, #504277, #71649c

## Questions about #312254

### What color is #312254?

#312254 is soft very dark violet. The closest named color is Stormy Night. In RGB it is rgb(49, 34, 84), in HSL hsl(258, 42.37%, 23.14%) and in OKLCH oklch(29.841% 0.0874 294.323).

### What colors go well with #312254?

The complementary color of #312254 is #2d3100. For a calmer combination use the analogous colors #162a59 and #421b45. The triadic partners are #4d1d00 and #00392b.

### Is white or black text more readable on #312254?

White text reads better on #312254: white gives a contrast ratio of 14.12:1 and black gives 1.49:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #312254 a warm or cool color?

#312254 is a cool color. In OKLCH its hue is 294 degrees, its lightness 29.8% and its chroma 0.087.
