# #311b62 color: Night Fog

#311b62 is rgb(49, 27, 98) in RGB and oklch(29.796% 0.11824 291.845) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #311b62 |
| RGB | rgb(49, 27, 98) |
| HSL | hsl(258.59, 56.8%, 24.51%) |
| HSB / HSV | hsv(258.59 72.45% 38.43%) |
| HWB | hwb(258.59 10.59% 61.57%) |
| CMYK | cmyk(50% 72% 0% 62%) |
| Lab | lab(16.55 25.39 -38.98) |
| LCH | lch(16.55 46.52 303.07) |
| OKLab | oklab(29.796% 0.044 -0.10975) |
| OKLCH | oklch(29.796% 0.11824 291.845) |
| Display P3 | color(display-p3 0.17998 0.10982 0.36957) |
| Rec. 2020 | color(rec2020 0.12126 0.06115 0.30926) |
| Adobe RGB | color(a98-rgb 0.18716 0.12844 0.37778) |
| ProPhoto RGB | color(prophoto-rgb 0.16027 0.10065 0.28969) |
| Linear sRGB | color(srgb-linear 0.03071 0.01096 0.12214) |
| XYZ D65 | color(xyz-d65 0.03863 0.02319 0.118) |
| XYZ D50 | color(xyz-d50 0.03509 0.02209 0.08871) |
| SwiftUI | Color(red: 0.192, green: 0.106, blue: 0.384) |
| UIKit | UIColor(red: 0.192, green: 0.106, blue: 0.384, alpha: 1) |
| Flutter / Compose | Color(0xFF311B62) |
| Android XML | #311B62 |

## Facts

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

## Tints

#311b62, #423272, #544782, #675d91, #7a72a1, #8f89b1, #a4a0c0, #bab7d0, #d1cee0, #e8e6ef

## Shades

#311b62, #291654, #221147, #1a0c3a, #13082d, #0c0521, #060216, #03010b, #010003, #000000

## Tones

#311b62, #301e5d, #302158, #2f2353, #2e254d, #2e2748, #2e2943, #2d2a3e, #2d2b38, #2d2c33

## Harmonies

- Complementary: #311b62, #2f3000
- Split: #311b62, #412800, #003a00
- Analogous: #311b62, #072767, #47104f
- Triadic: #311b62, #521800, #003928
- Tetradic: #311b62, #550433, #2f3000, #003928
- Square: #311b62, #5b010f, #2f3000, #00373c
- Monochromatic: #311b62, #090024, #17003f, #4f3d87, #705fad

## Questions about #311b62

### What color is #311b62?

#311b62 is deep very dark violet. The closest named color is Night Fog. In RGB it is rgb(49, 27, 98), in HSL hsl(258.59, 56.8%, 24.51%) and in OKLCH oklch(29.796% 0.11824 291.845).

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

The complementary color of #311b62 is #2f3000. For a calmer combination use the analogous colors #072767 and #47104f. The triadic partners are #521800 and #003928.

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

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

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

#311b62 is a cool color. In OKLCH its hue is 292 degrees, its lightness 29.8% and its chroma 0.118.
