# #1f0f2f color: Midnight Monarch

#1f0f2f is rgb(31, 15, 47) in RGB and oklch(21.007% 0.06273 304.648) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f0f2f |
| RGB | rgb(31, 15, 47) |
| HSL | hsl(270, 51.61%, 12.16%) |
| HSB / HSV | hsv(270 68.09% 18.43%) |
| HWB | hwb(270 5.88% 81.57%) |
| CMYK | cmyk(34% 68% 0% 82%) |
| Lab | lab(7.4 14.61 -18.44) |
| LCH | lch(7.4 23.52 308.39) |
| OKLab | oklab(21.007% 0.03566 -0.0516) |
| OKLCH | oklch(21.007% 0.06273 304.648) |
| Display P3 | color(display-p3 0.11275 0.06171 0.17728) |
| Rec. 2020 | color(rec2020 0.0513 0.02548 0.11382) |
| Adobe RGB | color(a98-rgb 0.12949 0.08804 0.19499) |
| ProPhoto RGB | color(prophoto-rgb 0.0889 0.06001 0.12994) |
| Linear sRGB | color(srgb-linear 0.0137 0.00478 0.02843) |
| XYZ D65 | color(xyz-d65 0.01249 0.00838 0.02785) |
| XYZ D50 | color(xyz-d50 0.01188 0.0082 0.02095) |
| SwiftUI | Color(red: 0.122, green: 0.059, blue: 0.184) |
| UIKit | UIColor(red: 0.122, green: 0.059, blue: 0.184, alpha: 1) |
| Flutter / Compose | Color(0xFF1F0F2F) |
| Android XML | #1F0F2F |

## 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: 17.99:1
- Contrast with black: 1.17:1

## Tints

#1f0f2f, #312342, #453855, #5a4f68, #6f657d, #867d91, #9d96a6, #b5afbc, #cdc9d2, #e6e4e8

## Shades

#1f0f2f, #190b27, #140820, #0f0519, #0a0312, #06020c, #030106, #010003, #000001, #000000

## Tones

#1f0f2f, #1e102d, #1e122b, #1d1328, #1c1426, #1c1524, #1b1522, #1a161f, #1a171d, #19181b

## Harmonies

- Complementary: #1f0f2f, #121d00
- Split: #1f0f2f, #211700, #00200a
- Analogous: #1f0f2f, #101434, #290b24
- Triadic: #1f0f2f, #2b1000, #00201c
- Tetradic: #1f0f2f, #2e0815, #121d00, #00201c
- Square: #1f0f2f, #2f0a03, #121d00, #001e28
- Monochromatic: #1f0f2f, #0b0018, #0b0018, #3d2d4f, #5d4c72

## Questions about #1f0f2f

### What color is #1f0f2f?

#1f0f2f is soft very dark purple. The closest named color is Midnight Monarch. In RGB it is rgb(31, 15, 47), in HSL hsl(270, 51.61%, 12.16%) and in OKLCH oklch(21.007% 0.06273 304.648).

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

The complementary color of #1f0f2f is #121d00. For a calmer combination use the analogous colors #101434 and #290b24. The triadic partners are #2b1000 and #00201c.

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

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

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

#1f0f2f is a neutral color. In OKLCH its hue is 305 degrees, its lightness 21% and its chroma 0.063.
