# #2d1d5b color: Night Fog

#2d1d5b is rgb(45, 29, 91) in RGB and oklch(29.052% 0.10566 290.116) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2d1d5b |
| RGB | rgb(45, 29, 91) |
| HSL | hsl(255.48, 51.67%, 23.53%) |
| HSB / HSV | hsv(255.48 68.13% 35.69%) |
| HWB | hwb(255.48 11.37% 64.31%) |
| CMYK | cmyk(51% 68% 0% 64%) |
| Lab | lab(16 21.31 -35.26) |
| LCH | lch(16 41.2 301.15) |
| OKLab | oklab(29.052% 0.03634 -0.09922) |
| OKLCH | oklch(29.052% 0.10566 290.116) |
| Display P3 | color(display-p3 0.1671 0.11635 0.34339) |
| Rec. 2020 | color(rec2020 0.10988 0.06435 0.28222) |
| Adobe RGB | color(a98-rgb 0.17728 0.13528 0.35229) |
| ProPhoto RGB | color(prophoto-rgb 0.14941 0.10143 0.26635) |
| Linear sRGB | color(srgb-linear 0.02624 0.01229 0.10462) |
| XYZ D65 | color(xyz-d65 0.0341 0.02192 0.10141) |
| XYZ D50 | color(xyz-d50 0.03114 0.02099 0.07626) |
| SwiftUI | Color(red: 0.176, green: 0.114, blue: 0.357) |
| UIKit | UIColor(red: 0.176, green: 0.114, blue: 0.357, alpha: 1) |
| Flutter / Compose | Color(0xFF2D1D5B) |
| Android XML | #2D1D5B |

## 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.6:1
- Contrast with black: 1.44:1

## Tints

#2d1d5b, #3e326b, #50477b, #645d8c, #78729c, #8d89ac, #a39fbd, #b9b7cd, #d0cede, #e7e6ee

## Shades

#2d1d5b, #26184e, #1f1341, #180e35, #110929, #0b051e, #060313, #020109, #010003, #000000

## Tones

#2d1d5b, #2c1f56, #2c2252, #2c234d, #2b2549, #2b2644, #2b283f, #2b293a, #2b2a35, #2b2b30

## Harmonies

- Complementary: #2d1d5b, #2f2e00
- Split: #2d1d5b, #3f2500, #013700
- Analogous: #2d1d5b, #06285f, #41144b
- Triadic: #2d1d5b, #501500, #003725
- Tetradic: #2d1d5b, #4e0b33, #2f2e00, #003725
- Square: #2d1d5b, #540914, #2f2e00, #003539
- Monochromatic: #2d1d5b, #090025, #130039, #4b3e7f, #6c60a4

## Questions about #2d1d5b

### What color is #2d1d5b?

#2d1d5b is soft very dark violet. The closest named color is Night Fog. In RGB it is rgb(45, 29, 91), in HSL hsl(255.48, 51.67%, 23.53%) and in OKLCH oklch(29.052% 0.10566 290.116).

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

The complementary color of #2d1d5b is #2f2e00. For a calmer combination use the analogous colors #06285f and #41144b. The triadic partners are #501500 and #003725.

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

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

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

#2d1d5b is a cool color. In OKLCH its hue is 290 degrees, its lightness 29.1% and its chroma 0.106.
