# #331c62 color: Night Fog

#331c62 is rgb(51, 28, 98) in RGB and oklch(30.179% 0.11691 293.193) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/331c62

## Formats

| Format | Value |
| --- | --- |
| HEX | #331c62 |
| RGB | rgb(51, 28, 98) |
| HSL | hsl(259.71, 55.56%, 24.71%) |
| HSB / HSV | hsv(259.71 71.43% 38.43%) |
| HWB | hwb(259.71 10.98% 61.57%) |
| CMYK | cmyk(48% 71% 0% 62%) |
| Lab | lab(17.03 25.31 -38.18) |
| LCH | lch(17.03 45.81 303.54) |
| OKLab | oklab(30.179% 0.04604 -0.10746) |
| OKLCH | oklch(30.179% 0.11691 293.193) |
| Display P3 | color(display-p3 0.18731 0.11395 0.3697) |
| Rec. 2020 | color(rec2020 0.1272 0.06459 0.30942) |
| Adobe RGB | color(a98-rgb 0.19346 0.13186 0.37782) |
| ProPhoto RGB | color(prophoto-rgb 0.16379 0.10342 0.28986) |
| Linear sRGB | color(srgb-linear 0.0331 0.01161 0.12214) |
| XYZ D65 | color(xyz-d65 0.03985 0.02416 0.11812) |
| XYZ D50 | color(xyz-d50 0.03638 0.02309 0.08881) |
| SwiftUI | Color(red: 0.2, green: 0.11, blue: 0.384) |
| UIKit | UIColor(red: 0.2, green: 0.11, blue: 0.384, alpha: 1) |
| Flutter / Compose | Color(0xFF331C62) |
| Android XML | #331C62 |

## Facts

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

## Tints

#331c62, #443272, #564881, #685d91, #7c73a1, #9089b0, #a5a0c0, #bbb7d0, #d1cfdf, #e8e7ef

## Shades

#331c62, #2b1754, #231247, #1c0d3a, #14082d, #0d0521, #070216, #03010b, #010003, #000000

## Tones

#331c62, #321f5d, #312258, #312453, #30264e, #302849, #2f2a44, #2f2b3e, #2f2c39, #2e2d34

## Harmonies

- Complementary: #331c62, #2f3200
- Split: #331c62, #412900, #003b00
- Analogous: #331c62, #0c2868, #48114f
- Triadic: #331c62, #521a00, #003a2b
- Tetradic: #331c62, #560633, #2f3200, #003a2b
- Square: #331c62, #5b040f, #2f3200, #00383e
- Monochromatic: #331c62, #0a0024, #18003f, #523e87, #7360ac

## Questions about #331c62

### What color is #331c62?

#331c62 is soft dark violet. The closest named color is Night Fog. In RGB it is rgb(51, 28, 98), in HSL hsl(259.71, 55.56%, 24.71%) and in OKLCH oklch(30.179% 0.11691 293.193).

### What colors go well with #331c62?

The complementary color of #331c62 is #2f3200. For a calmer combination use the analogous colors #0c2868 and #48114f. The triadic partners are #521a00 and #003a2b.

### Is white or black text more readable on #331c62?

White text reads better on #331c62: white gives a contrast ratio of 14.16:1 and black gives 1.48:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #331c62 a warm or cool color?

#331c62 is a cool color. In OKLCH its hue is 293 degrees, its lightness 30.2% and its chroma 0.117.
