# #2f1a5d color: Night Fog

#2f1a5d is rgb(47, 26, 93) in RGB and oklch(28.951% 0.11285 292.277) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f1a5d |
| RGB | rgb(47, 26, 93) |
| HSL | hsl(258.81, 56.3%, 23.33%) |
| HSB / HSV | hsv(258.81 72.04% 36.47%) |
| HWB | hwb(258.81 10.2% 63.53%) |
| CMYK | cmyk(49% 72% 0% 64%) |
| Lab | lab(15.68 24.19 -37.1) |
| LCH | lch(15.68 44.29 303.11) |
| OKLab | oklab(28.951% 0.04278 -0.10443) |
| OKLCH | oklch(28.951% 0.11285 292.277) |
| Display P3 | color(display-p3 0.17265 0.1057 0.3507) |
| Rec. 2020 | color(rec2020 0.11336 0.05718 0.28971) |
| Adobe RGB | color(a98-rgb 0.18088 0.12502 0.35945) |
| ProPhoto RGB | color(prophoto-rgb 0.15242 0.09663 0.27269) |
| Linear sRGB | color(srgb-linear 0.02843 0.01033 0.10946) |
| XYZ D65 | color(xyz-d65 0.03517 0.02133 0.10583) |
| XYZ D50 | color(xyz-d50 0.03204 0.02037 0.07957) |
| SwiftUI | Color(red: 0.184, green: 0.102, blue: 0.365) |
| UIKit | UIColor(red: 0.184, green: 0.102, blue: 0.365, alpha: 1) |
| Flutter / Compose | Color(0xFF2F1A5D) |
| Android XML | #2F1A5D |

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

## Tints

#2f1a5d, #40306d, #52467d, #655b8d, #79719d, #8e88ae, #a39fbe, #bab6ce, #d0cede, #e7e6ef

## Shades

#2f1a5d, #271550, #201043, #190c37, #12072a, #0c041f, #060214, #03010a, #010003, #000000

## Tones

#2f1a5d, #2e1d58, #2e2053, #2d224f, #2d244a, #2c2545, #2c2740, #2b283b, #2b2936, #2b2a30

## Harmonies

- Complementary: #2f1a5d, #2d2e00
- Split: #2f1a5d, #3e2600, #003800
- Analogous: #2f1a5d, #082662, #440f4b
- Triadic: #2f1a5d, #4e1700, #003727
- Tetradic: #2f1a5d, #510531, #2d2e00, #003727
- Square: #2f1a5d, #56030e, #2d2e00, #00343a
- Monochromatic: #2f1a5d, #0a0024, #15003a, #4d3c81, #6e5ea7

## Questions about #2f1a5d

### What color is #2f1a5d?

#2f1a5d is soft very dark violet. The closest named color is Night Fog. In RGB it is rgb(47, 26, 93), in HSL hsl(258.81, 56.3%, 23.33%) and in OKLCH oklch(28.951% 0.11285 292.277).

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

The complementary color of #2f1a5d is #2d2e00. For a calmer combination use the analogous colors #082662 and #440f4b. The triadic partners are #4e1700 and #003727.

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

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

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

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