# #2f1a5e color: Night Fog

#2f1a5e is rgb(47, 26, 94) in RGB and oklch(29.043% 0.11421 291.909) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/2f1a5e

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f1a5e |
| RGB | rgb(47, 26, 94) |
| HSL | hsl(258.53, 56.67%, 23.53%) |
| HSB / HSV | hsv(258.53 72.34% 36.86%) |
| HWB | hwb(258.53 10.2% 63.14%) |
| CMYK | cmyk(50% 72% 0% 63%) |
| Lab | lab(15.76 24.45 -37.64) |
| LCH | lch(15.76 44.88 303.01) |
| OKLab | oklab(29.043% 0.04261 -0.10596) |
| OKLCH | oklch(29.043% 0.11421 291.909) |
| Display P3 | color(display-p3 0.17265 0.1057 0.35445) |
| Rec. 2020 | color(rec2020 0.11375 0.05731 0.29358) |
| Adobe RGB | color(a98-rgb 0.18088 0.12502 0.36311) |
| ProPhoto RGB | color(prophoto-rgb 0.15328 0.09688 0.27604) |
| Linear sRGB | color(srgb-linear 0.02843 0.01033 0.11193) |
| XYZ D65 | color(xyz-d65 0.03562 0.02151 0.10818) |
| XYZ D50 | color(xyz-d50 0.03239 0.02052 0.08133) |
| SwiftUI | Color(red: 0.184, green: 0.102, blue: 0.369) |
| UIKit | UIColor(red: 0.184, green: 0.102, blue: 0.369, alpha: 1) |
| Flutter / Compose | Color(0xFF2F1A5E) |
| Android XML | #2F1A5E |

## 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.68:1
- Contrast with black: 1.43:1

## Tints

#2f1a5e, #40306e, #52467e, #655b8e, #79719e, #8e88ae, #a39fbe, #b9b6ce, #d0cedf, #e7e6ef

## Shades

#2f1a5e, #271551, #201044, #190c37, #12072b, #0c041f, #060214, #03010a, #010003, #000000

## Tones

#2f1a5e, #2e1d59, #2e2054, #2d224f, #2d244a, #2c2645, #2c2740, #2c283b, #2b2a36, #2b2a31

## Harmonies

- Complementary: #2f1a5e, #2d2f00
- Split: #2f1a5e, #3e2600, #003800
- Analogous: #2f1a5e, #072663, #440f4c
- Triadic: #2f1a5e, #4f1700, #003727
- Tetradic: #2f1a5e, #510431, #2d2f00, #003727
- Square: #2f1a5e, #57020f, #2d2f00, #00353a
- Monochromatic: #2f1a5e, #0a0024, #15003b, #4d3c82, #6e5ea8

## Questions about #2f1a5e

### What color is #2f1a5e?

#2f1a5e is deep very dark violet. The closest named color is Night Fog. In RGB it is rgb(47, 26, 94), in HSL hsl(258.53, 56.67%, 23.53%) and in OKLCH oklch(29.043% 0.11421 291.909).

### What colors go well with #2f1a5e?

The complementary color of #2f1a5e is #2d2f00. For a calmer combination use the analogous colors #072663 and #440f4c. The triadic partners are #4f1700 and #003727.

### Is white or black text more readable on #2f1a5e?

White text reads better on #2f1a5e: white gives a contrast ratio of 14.68:1 and black gives 1.43:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #2f1a5e a warm or cool color?

#2f1a5e is a cool color. In OKLCH its hue is 292 degrees, its lightness 29% and its chroma 0.114.
