# #2f1e41 color: Midnight Velvet

#2f1e41 is rgb(47, 30, 65) in RGB and oklch(27.438% 0.06556 304.887) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f1e41 |
| RGB | rgb(47, 30, 65) |
| HSL | hsl(269.14, 36.84%, 18.63%) |
| HSB / HSV | hsv(269.14 53.85% 25.49%) |
| HWB | hwb(269.14 11.76% 74.51%) |
| CMYK | cmyk(28% 54% 0% 75%) |
| Lab | lab(14.86 14.87 -19.35) |
| LCH | lch(14.86 24.4 307.54) |
| OKLab | oklab(27.438% 0.0375 -0.05378) |
| OKLCH | oklch(27.438% 0.06556 304.887) |
| Display P3 | color(display-p3 0.17441 0.12046 0.24668) |
| Rec. 2020 | color(rec2020 0.10745 0.06526 0.18352) |
| Adobe RGB | color(a98-rgb 0.18352 0.13872 0.25892) |
| ProPhoto RGB | color(prophoto-rgb 0.13378 0.09921 0.18456) |
| Linear sRGB | color(srgb-linear 0.02843 0.01298 0.05286) |
| XYZ D65 | color(xyz-d65 0.02591 0.01915 0.05234) |
| XYZ D50 | color(xyz-d50 0.02496 0.01884 0.0394) |
| SwiftUI | Color(red: 0.184, green: 0.118, blue: 0.255) |
| UIKit | UIColor(red: 0.184, green: 0.118, blue: 0.255, alpha: 1) |
| Flutter / Compose | Color(0xFF2F1E41) |
| Android XML | #2F1E41 |

## Facts

- Closest name: Midnight Velvet
- Hue family: Purple, soft very dark purple
- Closest Tailwind class: indigo-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 15.19:1
- Contrast with black: 1.38:1

## Tints

#2f1e41, #413252, #534664, #675b76, #7b7089, #90879c, #a59eaf, #bbb5c3, #d1cdd6, #e8e6eb

## Shades

#2f1e41, #271937, #20132e, #190e25, #12091c, #0c0513, #06030b, #030105, #010001, #000000

## Tones

#2f1e41, #2e1f3f, #2d203c, #2d213a, #2c2237, #2b2335, #2a2432, #2a252f, #29262d, #28272a

## Harmonies

- Complementary: #2f1e41, #202d02
- Split: #2f1e41, #322600, #023118
- Analogous: #2f1e41, #1e2447, #3a1a34
- Triadic: #2f1e41, #3d1f00, #00312c
- Tetradic: #2f1e41, #411823, #202d02, #00312c
- Square: #2f1e41, #421a10, #202d02, #002f3b
- Monochromatic: #2f1e41, #0b0019, #130322, #4e3d63, #705e86

## Questions about #2f1e41

### What color is #2f1e41?

#2f1e41 is soft very dark purple. The closest named color is Midnight Velvet. In RGB it is rgb(47, 30, 65), in HSL hsl(269.14, 36.84%, 18.63%) and in OKLCH oklch(27.438% 0.06556 304.887).

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

The complementary color of #2f1e41 is #202d02. For a calmer combination use the analogous colors #1e2447 and #3a1a34. The triadic partners are #3d1f00 and #00312c.

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

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

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

#2f1e41 is a neutral color. In OKLCH its hue is 305 degrees, its lightness 27.4% and its chroma 0.066.
