# #331c61 color: Night Fog

#331c61 is rgb(51, 28, 97) in RGB and oklch(30.089% 0.11557 293.562) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #331c61 |
| RGB | rgb(51, 28, 97) |
| HSL | hsl(260, 55.2%, 24.51%) |
| HSB / HSV | hsv(260 71.13% 38.04%) |
| HWB | hwb(260 10.98% 61.96%) |
| CMYK | cmyk(47% 71% 0% 62%) |
| Lab | lab(16.96 25.06 -37.64) |
| LCH | lch(16.96 45.22 303.66) |
| OKLab | oklab(30.089% 0.0462 -0.10593) |
| OKLCH | oklch(30.089% 0.11557 293.562) |
| Display P3 | color(display-p3 0.18731 0.11395 0.36596) |
| Rec. 2020 | color(rec2020 0.12682 0.06446 0.30554) |
| Adobe RGB | color(a98-rgb 0.19346 0.13186 0.37416) |
| ProPhoto RGB | color(prophoto-rgb 0.16293 0.10317 0.28648) |
| Linear sRGB | color(srgb-linear 0.0331 0.01161 0.11954) |
| XYZ D65 | color(xyz-d65 0.03938 0.02397 0.11565) |
| XYZ D50 | color(xyz-d50 0.03601 0.02294 0.08695) |
| SwiftUI | Color(red: 0.2, green: 0.11, blue: 0.38) |
| UIKit | UIColor(red: 0.2, green: 0.11, blue: 0.38, alpha: 1) |
| Flutter / Compose | Color(0xFF331C61) |
| Android XML | #331C61 |

## 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.19:1
- Contrast with black: 1.48:1

## Tints

#331c61, #443271, #564881, #685d90, #7c73a0, #9089b0, #a6a0c0, #bbb7cf, #d1cedf, #e8e7ef

## Shades

#331c61, #2b1753, #231246, #1c0d39, #14082d, #0d0521, #070215, #03010b, #010003, #000000

## Tones

#331c61, #321f5c, #312257, #312452, #30264d, #302848, #2f2943, #2f2b3e, #2e2c39, #2e2d33

## Harmonies

- Complementary: #331c61, #2f3200
- Split: #331c61, #412900, #003b00
- Analogous: #331c61, #0d2867, #48114e
- Triadic: #331c61, #521a00, #003a2b
- Tetradic: #331c61, #550732, #2f3200, #003a2b
- Square: #331c61, #5b050e, #2f3200, #00373e
- Monochromatic: #331c61, #0a0024, #18003e, #523e85, #7360ab

## Questions about #331c61

### What color is #331c61?

#331c61 is soft dark violet. The closest named color is Night Fog. In RGB it is rgb(51, 28, 97), in HSL hsl(260, 55.2%, 24.51%) and in OKLCH oklch(30.089% 0.11557 293.562).

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

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

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

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

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

#331c61 is a cool color. In OKLCH its hue is 294 degrees, its lightness 30.1% and its chroma 0.116.
