# #1f0c2f color: Midnight Monarch

#1f0c2f is rgb(31, 12, 47) in RGB and oklch(20.45% 0.06843 306.269) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f0c2f |
| RGB | rgb(31, 12, 47) |
| HSL | hsl(272.57, 59.32%, 11.57%) |
| HSB / HSV | hsv(272.57 74.47% 18.43%) |
| HWB | hwb(272.57 4.71% 81.57%) |
| CMYK | cmyk(34% 74% 0% 82%) |
| Lab | lab(6.69 16.29 -19.56) |
| LCH | lch(6.69 25.46 309.78) |
| OKLab | oklab(20.45% 0.04048 -0.05517) |
| OKLCH | oklch(20.45% 0.06843 306.269) |
| Display P3 | color(display-p3 0.11162 0.05081 0.17699) |
| Rec. 2020 | color(rec2020 0.04967 0.02093 0.11347) |
| Adobe RGB | color(a98-rgb 0.12783 0.07816 0.19484) |
| ProPhoto RGB | color(prophoto-rgb 0.0875 0.05475 0.12957) |
| Linear sRGB | color(srgb-linear 0.0137 0.00368 0.02843) |
| XYZ D65 | color(xyz-d65 0.0121 0.0076 0.02772) |
| XYZ D50 | color(xyz-d50 0.01146 0.00741 0.02085) |
| SwiftUI | Color(red: 0.122, green: 0.047, blue: 0.184) |
| UIKit | UIColor(red: 0.122, green: 0.047, blue: 0.184, alpha: 1) |
| Flutter / Compose | Color(0xFF1F0C2F) |
| Android XML | #1F0C2F |

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

## Tints

#1f0c2f, #322142, #453655, #5a4d69, #70647d, #867c91, #9d95a7, #b5aebc, #cdc9d2, #e6e4e8

## Shades

#1f0c2f, #190927, #140620, #0f0419, #0a0312, #06020c, #030106, #010003, #000001, #000000

## Tones

#1f0c2f, #1e0e2d, #1d0f2a, #1d1028, #1c1226, #1b1323, #1a1421, #19151f, #19151c, #18161a

## Harmonies

- Complementary: #1f0c2f, #0f1c00
- Split: #1f0c2f, #1f1600, #001f09
- Analogous: #1f0c2f, #101235, #290722
- Triadic: #1f0c2f, #2a0e00, #001f1b
- Tetradic: #1f0c2f, #2f0512, #0f1c00, #001f1b
- Square: #1f0c2f, #2f0700, #0f1c00, #001c27
- Monochromatic: #1f0c2f, #0c001a, #0c001a, #3d2a4f, #5d4a72

## Questions about #1f0c2f

### What color is #1f0c2f?

#1f0c2f is soft very dark purple. The closest named color is Midnight Monarch. In RGB it is rgb(31, 12, 47), in HSL hsl(272.57, 59.32%, 11.57%) and in OKLCH oklch(20.45% 0.06843 306.269).

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

The complementary color of #1f0c2f is #0f1c00. For a calmer combination use the analogous colors #101235 and #290722. The triadic partners are #2a0e00 and #001f1b.

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

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

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

#1f0c2f is a neutral color. In OKLCH its hue is 306 degrees, its lightness 20.5% and its chroma 0.068.
