# #2b1f45 color: Midnight Velvet

#2b1f45 is rgb(43, 31, 69) in RGB and oklch(27.443% 0.06893 296.118) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2b1f45 |
| RGB | rgb(43, 31, 69) |
| HSL | hsl(258.95, 38%, 19.61%) |
| HSB / HSV | hsv(258.95 55.07% 27.06%) |
| HWB | hwb(258.95 12.16% 72.94%) |
| CMYK | cmyk(38% 55% 0% 73%) |
| Lab | lab(14.85 13.68 -22.19) |
| LCH | lch(14.85 26.07 301.66) |
| OKLab | oklab(27.443% 0.03035 -0.06189) |
| OKLCH | oklch(27.443% 0.06893 296.118) |
| Display P3 | color(display-p3 0.1613 0.12342 0.26147) |
| Rec. 2020 | color(rec2020 0.09903 0.06725 0.1985) |
| Adobe RGB | color(a98-rgb 0.17329 0.14216 0.27318) |
| ProPhoto RGB | color(prophoto-rgb 0.13074 0.1006 0.19663) |
| Linear sRGB | color(srgb-linear 0.02416 0.0137 0.05951) |
| XYZ D65 | color(xyz-d65 0.0256 0.01923 0.05867) |
| XYZ D50 | color(xyz-d50 0.02433 0.01881 0.04416) |
| SwiftUI | Color(red: 0.169, green: 0.122, blue: 0.271) |
| UIKit | UIColor(red: 0.169, green: 0.122, blue: 0.271, alpha: 1) |
| Flutter / Compose | Color(0xFF2B1F45) |
| Android XML | #2B1F45 |

## Facts

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

## Tints

#2b1f45, #3d3356, #504768, #635c7a, #78718c, #8d879e, #a39eb1, #b9b6c4, #d0ced8, #e7e6eb

## Shades

#2b1f45, #24193b, #1d1431, #160f27, #100a1e, #0a0615, #05030c, #020105, #010002, #000000

## Tones

#2b1f45, #2b2042, #2a213f, #2a223c, #29233a, #292437, #292534, #282631, #28262e, #28272b

## Harmonies

- Complementary: #2b1f45, #262b00
- Split: #2b1f45, #362400, #0b3011
- Analogous: #2b1f45, #172549, #381a39
- Triadic: #2b1f45, #401d00, #003226
- Tetradic: #2b1f45, #411728, #262b00, #003226
- Square: #2b1f45, #431715, #262b00, #003037
- Monochromatic: #2b1f45, #09001c, #100325, #4a3e67, #6b5f8b

## Questions about #2b1f45

### What color is #2b1f45?

#2b1f45 is soft very dark violet. The closest named color is Midnight Velvet. In RGB it is rgb(43, 31, 69), in HSL hsl(258.95, 38%, 19.61%) and in OKLCH oklch(27.443% 0.06893 296.118).

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

The complementary color of #2b1f45 is #262b00. For a calmer combination use the analogous colors #172549 and #381a39. The triadic partners are #401d00 and #003226.

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

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

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

#2b1f45 is a cool color. In OKLCH its hue is 296 degrees, its lightness 27.4% and its chroma 0.069.
