# #1f0d31 color: Midnight Monarch

#1f0d31 is rgb(31, 13, 49) in RGB and oklch(20.798% 0.06947 303.998) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f0d31 |
| RGB | rgb(31, 13, 49) |
| HSL | hsl(270, 58.06%, 12.16%) |
| HSB / HSV | hsv(270 73.47% 19.22%) |
| HWB | hwb(270 5.1% 80.78%) |
| CMYK | cmyk(37% 73% 0% 81%) |
| Lab | lab(7.04 16.29 -20.48) |
| LCH | lch(7.04 26.17 308.49) |
| OKLab | oklab(20.798% 0.03885 -0.0576) |
| OKLCH | oklch(20.798% 0.06947 303.998) |
| Display P3 | color(display-p3 0.11198 0.05443 0.18454) |
| Rec. 2020 | color(rec2020 0.05064 0.02248 0.12096) |
| Adobe RGB | color(a98-rgb 0.12836 0.08144 0.20183) |
| ProPhoto RGB | color(prophoto-rgb 0.08919 0.05681 0.13523) |
| Linear sRGB | color(srgb-linear 0.0137 0.00402 0.03071) |
| XYZ D65 | color(xyz-d65 0.01263 0.00801 0.02994) |
| XYZ D50 | color(xyz-d50 0.01192 0.0078 0.02251) |
| SwiftUI | Color(red: 0.122, green: 0.051, blue: 0.192) |
| UIKit | UIColor(red: 0.122, green: 0.051, blue: 0.192, alpha: 1) |
| Flutter / Compose | Color(0xFF1F0D31) |
| Android XML | #1F0D31 |

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

## Tints

#1f0d31, #312244, #453757, #5a4d6a, #6f657e, #867d93, #9d95a8, #b4afbd, #cdc9d3, #e6e4e9

## Shades

#1f0d31, #190a29, #140722, #0f051a, #0a0313, #06020c, #030106, #010003, #000001, #000000

## Tones

#1f0d31, #1e0f2f, #1d102c, #1d112a, #1c1327, #1b1425, #1b1522, #1a1620, #19161d, #18171a

## Harmonies

- Complementary: #1f0d31, #111c00
- Split: #1f0d31, #211600, #002007
- Analogous: #1f0d31, #0f1337, #290825
- Triadic: #1f0d31, #2c0e00, #00201b
- Tetradic: #1f0d31, #300514, #111c00, #00201b
- Square: #1f0d31, #310701, #111c00, #001e27
- Monochromatic: #1f0d31, #0c001b, #0c001b, #3d2b52, #5d4b74

## Questions about #1f0d31

### What color is #1f0d31?

#1f0d31 is soft very dark purple. The closest named color is Midnight Monarch. In RGB it is rgb(31, 13, 49), in HSL hsl(270, 58.06%, 12.16%) and in OKLCH oklch(20.798% 0.06947 303.998).

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

The complementary color of #1f0d31 is #111c00. For a calmer combination use the analogous colors #0f1337 and #290825. The triadic partners are #2c0e00 and #00201b.

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

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

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

#1f0d31 is a neutral color. In OKLCH its hue is 304 degrees, its lightness 20.8% and its chroma 0.069.
