# #1f0e31 color: Midnight Monarch

#1f0e31 is rgb(31, 14, 49) in RGB and oklch(20.981% 0.06763 303.464) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/1f0e31

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f0e31 |
| RGB | rgb(31, 14, 49) |
| HSL | hsl(269.14, 55.56%, 12.35%) |
| HSB / HSV | hsv(269.14 71.43% 19.22%) |
| HWB | hwb(269.14 5.49% 80.78%) |
| CMYK | cmyk(37% 71% 0% 81%) |
| Lab | lab(7.28 15.72 -20.11) |
| LCH | lch(7.28 25.52 308.02) |
| OKLab | oklab(20.981% 0.03729 -0.05642) |
| OKLCH | oklch(20.981% 0.06763 303.464) |
| Display P3 | color(display-p3 0.11236 0.05806 0.18463) |
| Rec. 2020 | color(rec2020 0.05118 0.024 0.12108) |
| Adobe RGB | color(a98-rgb 0.12891 0.08474 0.20188) |
| ProPhoto RGB | color(prophoto-rgb 0.08965 0.05856 0.13535) |
| Linear sRGB | color(srgb-linear 0.0137 0.00439 0.03071) |
| XYZ D65 | color(xyz-d65 0.01276 0.00827 0.02998) |
| XYZ D50 | color(xyz-d50 0.01206 0.00806 0.02255) |
| SwiftUI | Color(red: 0.122, green: 0.055, blue: 0.192) |
| UIKit | UIColor(red: 0.122, green: 0.055, blue: 0.192, alpha: 1) |
| Flutter / Compose | Color(0xFF1F0E31) |
| Android XML | #1F0E31 |

## Facts

- Closest name: Midnight Monarch
- Hue family: Purple, soft very dark purple
- Closest Tailwind class: slate-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 18.02:1
- Contrast with black: 1.17:1

## Tints

#1f0e31, #312344, #453857, #5a4e6a, #6f657e, #867d93, #9d96a8, #b4afbd, #cdc9d3, #e6e4e9

## Shades

#1f0e31, #190b29, #140722, #0f051a, #0a0313, #06020c, #030106, #010003, #000001, #000000

## Tones

#1f0e31, #1e102f, #1e112c, #1d122a, #1c1327, #1b1425, #1b1522, #1a1620, #19171d, #19181b

## Harmonies

- Complementary: #1f0e31, #121d00
- Split: #1f0e31, #221700, #002008
- Analogous: #1f0e31, #0f1437, #290925
- Triadic: #1f0e31, #2d0f00, #00201b
- Tetradic: #1f0e31, #2f0715, #121d00, #00201b
- Square: #1f0e31, #310802, #121d00, #001e28
- Monochromatic: #1f0e31, #0b001a, #0b001a, #3d2c52, #5d4c74

## Questions about #1f0e31

### What color is #1f0e31?

#1f0e31 is soft very dark purple. The closest named color is Midnight Monarch. In RGB it is rgb(31, 14, 49), in HSL hsl(269.14, 55.56%, 12.35%) and in OKLCH oklch(20.981% 0.06763 303.464).

### What colors go well with #1f0e31?

The complementary color of #1f0e31 is #121d00. For a calmer combination use the analogous colors #0f1437 and #290925. The triadic partners are #2d0f00 and #00201b.

### Is white or black text more readable on #1f0e31?

White text reads better on #1f0e31: white gives a contrast ratio of 18.02:1 and black gives 1.17:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #1f0e31 a warm or cool color?

#1f0e31 is a neutral color. In OKLCH its hue is 303 degrees, its lightness 21% and its chroma 0.068.
