# #311e5d color: Night Fog

#311e5d is rgb(49, 30, 93) in RGB and oklch(29.841% 0.10703 292.607) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/311e5d

## Formats

| Format | Value |
| --- | --- |
| HEX | #311e5d |
| RGB | rgb(49, 30, 93) |
| HSL | hsl(258.1, 51.22%, 24.12%) |
| HSB / HSV | hsv(258.1 67.74% 36.47%) |
| HWB | hwb(258.1 11.76% 63.53%) |
| CMYK | cmyk(47% 68% 0% 64%) |
| Lab | lab(16.88 22.31 -35.13) |
| LCH | lch(16.88 41.62 302.42) |
| OKLab | oklab(29.841% 0.04114 -0.0988) |
| OKLCH | oklch(29.841% 0.10703 292.607) |
| Display P3 | color(display-p3 0.18127 0.12087 0.35109) |
| Rec. 2020 | color(rec2020 0.12167 0.06887 0.29019) |
| Adobe RGB | color(a98-rgb 0.1891 0.13872 0.35962) |
| ProPhoto RGB | color(prophoto-rgb 0.15757 0.10547 0.27324) |
| Linear sRGB | color(srgb-linear 0.03071 0.01298 0.10946) |
| XYZ D65 | color(xyz-d65 0.03706 0.02372 0.10619) |
| XYZ D50 | color(xyz-d50 0.03406 0.02278 0.07985) |
| SwiftUI | Color(red: 0.192, green: 0.118, blue: 0.365) |
| UIKit | UIColor(red: 0.192, green: 0.118, blue: 0.365, alpha: 1) |
| Flutter / Compose | Color(0xFF311E5D) |
| Android XML | #311E5D |

## Facts

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

## Tints

#311e5d, #42336d, #54487d, #675e8d, #7b739d, #8f89ad, #a5a0be, #bab7ce, #d1cfde, #e8e7ef

## Shades

#311e5d, #291950, #221343, #1a0e37, #13092a, #0c051f, #060314, #03010a, #010003, #000000

## Tones

#311e5d, #302158, #302354, #2f254f, #2f264b, #2e2846, #2e2941, #2e2b3c, #2e2c37, #2d2c32

## Harmonies

- Complementary: #311e5d, #2f3100
- Split: #311e5d, #412800, #003900
- Analogous: #311e5d, #0d2962, #45154c
- Triadic: #311e5d, #511900, #003929
- Tetradic: #311e5d, #520c32, #2f3100, #003929
- Square: #311e5d, #570b12, #2f3100, #00373d
- Monochromatic: #311e5d, #0a0024, #16003b, #4f3f81, #7161a7

## Questions about #311e5d

### What color is #311e5d?

#311e5d is soft very dark violet. The closest named color is Night Fog. In RGB it is rgb(49, 30, 93), in HSL hsl(258.1, 51.22%, 24.12%) and in OKLCH oklch(29.841% 0.10703 292.607).

### What colors go well with #311e5d?

The complementary color of #311e5d is #2f3100. For a calmer combination use the analogous colors #0d2962 and #45154c. The triadic partners are #511900 and #003929.

### Is white or black text more readable on #311e5d?

White text reads better on #311e5d: white gives a contrast ratio of 14.24:1 and black gives 1.47:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #311e5d a warm or cool color?

#311e5d is a cool color. In OKLCH its hue is 293 degrees, its lightness 29.8% and its chroma 0.107.
