# #311b5f color: Night Fog

#311b5f is rgb(49, 27, 95) in RGB and oklch(29.521% 0.11421 292.931) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #311b5f |
| RGB | rgb(49, 27, 95) |
| HSL | hsl(259.41, 55.74%, 23.92%) |
| HSB / HSV | hsv(259.41 71.58% 37.25%) |
| HWB | hwb(259.41 10.59% 62.75%) |
| CMYK | cmyk(48% 72% 0% 63%) |
| Lab | lab(16.32 24.63 -37.37) |
| LCH | lch(16.32 44.76 303.39) |
| OKLab | oklab(29.521% 0.0445 -0.10518) |
| OKLCH | oklch(29.521% 0.11421 292.931) |
| Display P3 | color(display-p3 0.17998 0.10982 0.35833) |
| Rec. 2020 | color(rec2020 0.12008 0.06075 0.29762) |
| Adobe RGB | color(a98-rgb 0.18716 0.12844 0.3668) |
| ProPhoto RGB | color(prophoto-rgb 0.15765 0.09989 0.27956) |
| Linear sRGB | color(srgb-linear 0.03071 0.01096 0.11444) |
| XYZ D65 | color(xyz-d65 0.03724 0.02263 0.11067) |
| XYZ D50 | color(xyz-d50 0.03399 0.02163 0.08321) |
| SwiftUI | Color(red: 0.192, green: 0.106, blue: 0.373) |
| UIKit | UIColor(red: 0.192, green: 0.106, blue: 0.373, alpha: 1) |
| Flutter / Compose | Color(0xFF311B5F) |
| Android XML | #311B5F |

## 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.46:1
- Contrast with black: 1.45:1

## Tints

#311b5f, #42316f, #54477f, #675c8f, #7b729f, #8f88af, #a49fbf, #bab6cf, #d1cedf, #e8e6ef

## Shades

#311b5f, #291652, #221144, #1a0c38, #13082c, #0c0520, #060215, #03010a, #010003, #000000

## Tones

#311b5f, #301e5a, #2f2155, #2f2350, #2e254b, #2e2746, #2d2841, #2d293c, #2d2b37, #2d2c32

## Harmonies

- Complementary: #311b5f, #2e3000
- Split: #311b5f, #3f2700, #003900
- Analogous: #311b5f, #0b2764, #46104d
- Triadic: #311b5f, #501900, #003829
- Tetradic: #311b5f, #530632, #2e3000, #003829
- Square: #311b5f, #59040e, #2e3000, #00363c
- Monochromatic: #311b5f, #0a0024, #17003c, #4f3d83, #705fa9

## Questions about #311b5f

### What color is #311b5f?

#311b5f is soft very dark violet. The closest named color is Night Fog. In RGB it is rgb(49, 27, 95), in HSL hsl(259.41, 55.74%, 23.92%) and in OKLCH oklch(29.521% 0.11421 292.931).

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

The complementary color of #311b5f is #2e3000. For a calmer combination use the analogous colors #0b2764 and #46104d. The triadic partners are #501900 and #003829.

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

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

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

#311b5f is a cool color. In OKLCH its hue is 293 degrees, its lightness 29.5% and its chroma 0.114.
