# #1f0f31 color: Midnight Monarch

#1f0f31 is rgb(31, 15, 49) in RGB and oklch(21.169% 0.06575 302.892) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f0f31 |
| RGB | rgb(31, 15, 49) |
| HSL | hsl(268.24, 53.13%, 12.55%) |
| HSB / HSV | hsv(268.24 69.39% 19.22%) |
| HWB | hwb(268.24 5.88% 80.78%) |
| CMYK | cmyk(37% 69% 0% 81%) |
| Lab | lab(7.53 15.12 -19.71) |
| LCH | lch(7.53 24.84 307.49) |
| OKLab | oklab(21.169% 0.03571 -0.05521) |
| OKLCH | oklch(21.169% 0.06575 302.892) |
| Display P3 | color(display-p3 0.11275 0.06171 0.18473) |
| Rec. 2020 | color(rec2020 0.05175 0.0256 0.1212) |
| Adobe RGB | color(a98-rgb 0.12949 0.08804 0.20193) |
| ProPhoto RGB | color(prophoto-rgb 0.09014 0.06035 0.13548) |
| Linear sRGB | color(srgb-linear 0.0137 0.00478 0.03071) |
| XYZ D65 | color(xyz-d65 0.0129 0.00855 0.03003) |
| XYZ D50 | color(xyz-d50 0.01221 0.00833 0.02259) |
| SwiftUI | Color(red: 0.122, green: 0.059, blue: 0.192) |
| UIKit | UIColor(red: 0.122, green: 0.059, blue: 0.192, alpha: 1) |
| Flutter / Compose | Color(0xFF1F0F31) |
| Android XML | #1F0F31 |

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

## Tints

#1f0f31, #312444, #453957, #5a4f6a, #6f667e, #867e93, #9d96a8, #b4afbd, #cdc9d3, #e6e4e9

## Shades

#1f0f31, #190b29, #140822, #0f051a, #0a0313, #06020c, #030106, #010003, #000001, #000000

## Tones

#1f0f31, #1e102f, #1e122c, #1d132a, #1c1428, #1c1525, #1b1623, #1a1720, #1a171e, #19181b

## Harmonies

- Complementary: #1f0f31, #131d00
- Split: #1f0f31, #231700, #002108
- Analogous: #1f0f31, #0f1536, #290a25
- Triadic: #1f0f31, #2d0f00, #00211b
- Tetradic: #1f0f31, #2f0816, #131d00, #00211b
- Square: #1f0f31, #310904, #131d00, #001f28
- Monochromatic: #1f0f31, #0b001a, #0b001a, #3d2d52, #5d4d74

## Questions about #1f0f31

### What color is #1f0f31?

#1f0f31 is soft very dark purple. The closest named color is Midnight Monarch. In RGB it is rgb(31, 15, 49), in HSL hsl(268.24, 53.13%, 12.55%) and in OKLCH oklch(21.169% 0.06575 302.892).

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

The complementary color of #1f0f31 is #131d00. For a calmer combination use the analogous colors #0f1536 and #290a25. The triadic partners are #2d0f00 and #00211b.

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

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

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

#1f0f31 is a neutral color. In OKLCH its hue is 303 degrees, its lightness 21.2% and its chroma 0.066.
