# #2c1e45 color: Midnight Velvet

#2c1e45 is rgb(44, 30, 69) in RGB and oklch(27.352% 0.07097 298.134) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2c1e45 |
| RGB | rgb(44, 30, 69) |
| HSL | hsl(261.54, 39.39%, 19.41%) |
| HSB / HSV | hsv(261.54 56.52% 27.06%) |
| HWB | hwb(261.54 11.76% 72.94%) |
| CMYK | cmyk(36% 57% 0% 73%) |
| Lab | lab(14.69 14.7 -22.43) |
| LCH | lch(14.69 26.82 303.25) |
| OKLab | oklab(27.352% 0.03347 -0.06259) |
| OKLCH | oklch(27.352% 0.07097 298.134) |
| Display P3 | color(display-p3 0.16418 0.11987 0.26139) |
| Rec. 2020 | color(rec2020 0.10066 0.0646 0.19839) |
| Adobe RGB | color(a98-rgb 0.17526 0.13872 0.27311) |
| ProPhoto RGB | color(prophoto-rgb 0.1316 0.09875 0.19649) |
| Linear sRGB | color(srgb-linear 0.02519 0.01298 0.05951) |
| XYZ D65 | color(xyz-d65 0.02577 0.01894 0.0586) |
| XYZ D50 | color(xyz-d50 0.0245 0.01852 0.04411) |
| SwiftUI | Color(red: 0.173, green: 0.118, blue: 0.271) |
| UIKit | UIColor(red: 0.173, green: 0.118, blue: 0.271, alpha: 1) |
| Flutter / Compose | Color(0xFF2C1E45) |
| Android XML | #2C1E45 |

## 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.23:1
- Contrast with black: 1.38:1

## Tints

#2c1e45, #3e3256, #504668, #645b7a, #78718c, #8d879e, #a39eb1, #b9b5c4, #d0cdd8, #e7e6eb

## Shades

#2c1e45, #25193b, #1e1331, #170e27, #11091e, #0a0515, #05030c, #020105, #010002, #000000

## Tones

#2c1e45, #2b1f42, #2b203f, #2a223c, #2a2339, #292337, #292434, #282531, #28262d, #28272a

## Harmonies

- Complementary: #2c1e45, #242b00
- Split: #2c1e45, #362400, #063011
- Analogous: #2c1e45, #18244a, #391939
- Triadic: #2c1e45, #401c00, #003227
- Tetradic: #2c1e45, #411627, #242b00, #003227
- Square: #2c1e45, #441712, #242b00, #002f38
- Monochromatic: #2c1e45, #0a001d, #110225, #4b3d67, #6c5e8b

## Questions about #2c1e45

### What color is #2c1e45?

#2c1e45 is soft very dark violet. The closest named color is Midnight Velvet. In RGB it is rgb(44, 30, 69), in HSL hsl(261.54, 39.39%, 19.41%) and in OKLCH oklch(27.352% 0.07097 298.134).

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

The complementary color of #2c1e45 is #242b00. For a calmer combination use the analogous colors #18244a and #391939. The triadic partners are #401c00 and #003227.

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

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

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

#2c1e45 is a cool color. In OKLCH its hue is 298 degrees, its lightness 27.4% and its chroma 0.071.
