# #2b2045 color: Midnight Velvet

#2b2045 is rgb(43, 32, 69) in RGB and oklch(27.655% 0.06705 295.38) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2b2045 |
| RGB | rgb(43, 32, 69) |
| HSL | hsl(257.84, 36.63%, 19.8%) |
| HSB / HSV | hsv(257.84 53.62% 27.06%) |
| HWB | hwb(257.84 12.55% 72.94%) |
| CMYK | cmyk(38% 54% 0% 73%) |
| Lab | lab(15.14 13.01 -21.73) |
| LCH | lch(15.14 25.33 300.91) |
| OKLab | oklab(27.655% 0.02874 -0.06058) |
| OKLCH | oklch(27.655% 0.06705 295.38) |
| Display P3 | color(display-p3 0.16183 0.12716 0.2616) |
| Rec. 2020 | color(rec2020 0.10001 0.07032 0.19866) |
| Adobe RGB | color(a98-rgb 0.17408 0.14561 0.27324) |
| ProPhoto RGB | color(prophoto-rgb 0.13143 0.10284 0.1968) |
| Linear sRGB | color(srgb-linear 0.02416 0.01444 0.05951) |
| XYZ D65 | color(xyz-d65 0.02587 0.01976 0.05876) |
| XYZ D50 | color(xyz-d50 0.02461 0.01934 0.04424) |
| SwiftUI | Color(red: 0.169, green: 0.125, blue: 0.271) |
| UIKit | UIColor(red: 0.169, green: 0.125, blue: 0.271, alpha: 1) |
| Flutter / Compose | Color(0xFF2B2045) |
| Android XML | #2B2045 |

## 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.05:1
- Contrast with black: 1.4:1

## Tints

#2b2045, #3d3356, #504868, #635c7a, #78728c, #8d889e, #a39fb1, #b9b6c4, #d0ced8, #e7e6eb

## Shades

#2b2045, #241a3b, #1d1531, #160f27, #100a1e, #0a0615, #05030c, #020105, #010002, #000000

## Tones

#2b2045, #2b2142, #2a223f, #2a233d, #29243a, #292537, #292534, #292631, #28272e, #28272b

## Harmonies

- Complementary: #2b2045, #272b00
- Split: #2b2045, #372500, #0e3012
- Analogous: #2b2045, #182649, #381b3a
- Triadic: #2b2045, #401d01, #003226
- Tetradic: #2b2045, #411829, #272b00, #003226
- Square: #2b2045, #431916, #272b00, #003138
- Monochromatic: #2b2045, #09001c, #100425, #4a3f67, #6b608b

## Questions about #2b2045

### What color is #2b2045?

#2b2045 is soft very dark violet. The closest named color is Midnight Velvet. In RGB it is rgb(43, 32, 69), in HSL hsl(257.84, 36.63%, 19.8%) and in OKLCH oklch(27.655% 0.06705 295.38).

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

The complementary color of #2b2045 is #272b00. For a calmer combination use the analogous colors #182649 and #381b3a. The triadic partners are #401d01 and #003226.

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

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

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

#2b2045 is a cool color. In OKLCH its hue is 295 degrees, its lightness 27.7% and its chroma 0.067.
