# #1f0f36 color: Midnight Monarch

#1f0f36 is rgb(31, 15, 54) in RGB and oklch(21.594% 0.07325 299.041) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f0f36 |
| RGB | rgb(31, 15, 54) |
| HSL | hsl(264.62, 56.52%, 13.53%) |
| HSB / HSV | hsv(264.62 72.22% 21.18%) |
| HWB | hwb(264.62 5.88% 78.82%) |
| CMYK | cmyk(43% 72% 0% 79%) |
| Lab | lab(7.87 16.41 -22.82) |
| LCH | lch(7.87 28.1 305.72) |
| OKLab | oklab(21.594% 0.03556 -0.06404) |
| OKLCH | oklch(21.594% 0.07325 299.041) |
| Display P3 | color(display-p3 0.11275 0.06171 0.20338) |
| Rec. 2020 | color(rec2020 0.05295 0.02591 0.13973) |
| Adobe RGB | color(a98-rgb 0.12949 0.08804 0.21936) |
| ProPhoto RGB | color(prophoto-rgb 0.0934 0.06126 0.14959) |
| Linear sRGB | color(srgb-linear 0.0137 0.00478 0.03689) |
| XYZ D65 | color(xyz-d65 0.01402 0.00899 0.0359) |
| XYZ D50 | color(xyz-d50 0.01309 0.00871 0.027) |
| SwiftUI | Color(red: 0.122, green: 0.059, blue: 0.212) |
| UIKit | UIColor(red: 0.122, green: 0.059, blue: 0.212, alpha: 1) |
| Flutter / Compose | Color(0xFF1F0F36) |
| Android XML | #1F0F36 |

## Facts

- Closest name: Midnight Monarch
- Hue family: Violet, soft very dark violet
- Closest Tailwind class: slate-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 17.8:1
- Contrast with black: 1.18:1

## Tints

#1f0f36, #312448, #45395b, #594f6e, #6f6682, #857e96, #9c97aa, #b4b0bf, #cdcad4, #e6e4e9

## Shades

#1f0f36, #190b2e, #140825, #0f051e, #0a0316, #06020f, #030108, #010003, #000001, #000000

## Tones

#1f0f36, #1e1133, #1e1231, #1d132e, #1d152b, #1c1628, #1b1725, #1b1723, #1a1820, #1a191d

## Harmonies

- Complementary: #1f0f36, #171d00
- Split: #1f0f36, #251700, #002204
- Analogous: #1f0f36, #0c153b, #2b092a
- Triadic: #1f0f36, #310e00, #00221a
- Tetradic: #1f0f36, #320619, #171d00, #00221a
- Square: #1f0f36, #340704, #171d00, #002028
- Monochromatic: #1f0f36, #0a001d, #0a001d, #3c2d57, #5d4d7a

## Questions about #1f0f36

### What color is #1f0f36?

#1f0f36 is soft very dark violet. The closest named color is Midnight Monarch. In RGB it is rgb(31, 15, 54), in HSL hsl(264.62, 56.52%, 13.53%) and in OKLCH oklch(21.594% 0.07325 299.041).

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

The complementary color of #1f0f36 is #171d00. For a calmer combination use the analogous colors #0c153b and #2b092a. The triadic partners are #310e00 and #00221a.

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

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

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

#1f0f36 is a cool color. In OKLCH its hue is 299 degrees, its lightness 21.6% and its chroma 0.073.
