# #1f0c32 color: Midnight Monarch

#1f0c32 is rgb(31, 12, 50) in RGB and oklch(20.709% 0.0727 303.654) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f0c32 |
| RGB | rgb(31, 12, 50) |
| HSL | hsl(270, 61.29%, 12.16%) |
| HSB / HSV | hsv(270 76% 19.61%) |
| HWB | hwb(270 4.71% 80.39%) |
| CMYK | cmyk(38% 76% 0% 80%) |
| Lab | lab(6.88 17.1 -21.48) |
| LCH | lch(6.88 27.45 308.52) |
| OKLab | oklab(20.709% 0.04029 -0.06051) |
| OKLCH | oklch(20.709% 0.0727 303.654) |
| Display P3 | color(display-p3 0.11162 0.05081 0.18819) |
| Rec. 2020 | color(rec2020 0.05035 0.0211 0.12456) |
| Adobe RGB | color(a98-rgb 0.12783 0.07816 0.20526) |
| ProPhoto RGB | color(prophoto-rgb 0.08938 0.05531 0.13792) |
| Linear sRGB | color(srgb-linear 0.0137 0.00368 0.0319) |
| XYZ D65 | color(xyz-d65 0.01272 0.00785 0.03102) |
| XYZ D50 | color(xyz-d50 0.01195 0.00762 0.02332) |
| SwiftUI | Color(red: 0.122, green: 0.047, blue: 0.196) |
| UIKit | UIColor(red: 0.122, green: 0.047, blue: 0.196, alpha: 1) |
| Flutter / Compose | Color(0xFF1F0C32) |
| Android XML | #1F0C32 |

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

## Tints

#1f0c32, #312145, #453758, #5a4d6b, #6f647f, #867c93, #9d95a8, #b4afbd, #cdc9d3, #e6e4e9

## Shades

#1f0c32, #19092a, #140622, #0f041b, #0a0314, #06020d, #030107, #010003, #000001, #000000

## Tones

#1f0c32, #1e0e2f, #1d0f2d, #1d112a, #1c1228, #1b1325, #1a1423, #1a1520, #19161d, #18171a

## Harmonies

- Complementary: #1f0c32, #111c00
- Split: #1f0c32, #211600, #002006
- Analogous: #1f0c32, #0e1238, #2a0725
- Triadic: #1f0c32, #2c0e00, #001f1a
- Tetradic: #1f0c32, #300414, #111c00, #001f1a
- Square: #1f0c32, #310601, #111c00, #001d27
- Monochromatic: #1f0c32, #0c001c, #0c001c, #3d2a53, #5d4a75

## Questions about #1f0c32

### What color is #1f0c32?

#1f0c32 is soft very dark purple. The closest named color is Midnight Monarch. In RGB it is rgb(31, 12, 50), in HSL hsl(270, 61.29%, 12.16%) and in OKLCH oklch(20.709% 0.0727 303.654).

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

The complementary color of #1f0c32 is #111c00. For a calmer combination use the analogous colors #0e1238 and #2a0725. The triadic partners are #2c0e00 and #001f1a.

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

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

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

#1f0c32 is a neutral color. In OKLCH its hue is 304 degrees, its lightness 20.7% and its chroma 0.073.
