# #2c1f45 color: Midnight Velvet

#2c1f45 is rgb(44, 31, 69) in RGB and oklch(27.558% 0.06908 297.463) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2c1f45 |
| RGB | rgb(44, 31, 69) |
| HSL | hsl(260.53, 38%, 19.61%) |
| HSB / HSV | hsv(260.53 55.07% 27.06%) |
| HWB | hwb(260.53 12.16% 72.94%) |
| CMYK | cmyk(36% 55% 0% 73%) |
| Lab | lab(14.97 14.04 -21.98) |
| LCH | lch(14.97 26.08 302.56) |
| OKLab | oklab(27.558% 0.03186 -0.06129) |
| OKLCH | oklch(27.558% 0.06908 297.463) |
| Display P3 | color(display-p3 0.16468 0.1236 0.26152) |
| Rec. 2020 | color(rec2020 0.1016 0.06757 0.19854) |
| Adobe RGB | color(a98-rgb 0.176 0.14216 0.27318) |
| ProPhoto RGB | color(prophoto-rgb 0.13227 0.10095 0.19666) |
| Linear sRGB | color(srgb-linear 0.02519 0.0137 0.05951) |
| XYZ D65 | color(xyz-d65 0.02603 0.01945 0.05869) |
| XYZ D50 | color(xyz-d50 0.02478 0.01903 0.04418) |
| SwiftUI | Color(red: 0.173, green: 0.122, blue: 0.271) |
| UIKit | UIColor(red: 0.173, green: 0.122, blue: 0.271, alpha: 1) |
| Flutter / Compose | Color(0xFF2C1F45) |
| Android XML | #2C1F45 |

## 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.12:1
- Contrast with black: 1.39:1

## Tints

#2c1f45, #3e3356, #504768, #645c7a, #78718c, #8d879e, #a39eb1, #b9b6c4, #d0ced8, #e7e6eb

## Shades

#2c1f45, #25193b, #1e1431, #170f27, #110a1e, #0a0615, #05030c, #020105, #010002, #000000

## Tones

#2c1f45, #2b2042, #2b213f, #2a223d, #2a233a, #2a2437, #292534, #292631, #28262e, #28272b

## Harmonies

- Complementary: #2c1f45, #252c00
- Split: #2c1f45, #362500, #0a3112
- Analogous: #2c1f45, #192549, #391a39
- Triadic: #2c1f45, #401d00, #003227
- Tetradic: #2c1f45, #411728, #252c00, #003227
- Square: #2c1f45, #441814, #252c00, #003038
- Monochromatic: #2c1f45, #0a001c, #110325, #4b3e67, #6c5f8b

## Questions about #2c1f45

### What color is #2c1f45?

#2c1f45 is soft very dark violet. The closest named color is Midnight Velvet. In RGB it is rgb(44, 31, 69), in HSL hsl(260.53, 38%, 19.61%) and in OKLCH oklch(27.558% 0.06908 297.463).

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

The complementary color of #2c1f45 is #252c00. For a calmer combination use the analogous colors #192549 and #391a39. The triadic partners are #401d00 and #003227.

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

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

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

#2c1f45 is a cool color. In OKLCH its hue is 297 degrees, its lightness 27.6% and its chroma 0.069.
