# #1f0c2a color: Midnight Monarch

#1f0c2a is rgb(31, 12, 42) in RGB and oklch(20.044% 0.06131 311.323) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f0c2a |
| RGB | rgb(31, 12, 42) |
| HSL | hsl(278, 55.56%, 10.59%) |
| HSB / HSV | hsv(278 71.43% 16.47%) |
| HWB | hwb(278 4.71% 83.53%) |
| CMYK | cmyk(26% 71% 0% 84%) |
| Lab | lab(6.4 14.97 -16.29) |
| LCH | lch(6.4 22.13 312.59) |
| OKLab | oklab(20.044% 0.04048 -0.04604) |
| OKLCH | oklch(20.044% 0.06131 311.323) |
| Display P3 | color(display-p3 0.11162 0.05081 0.15836) |
| Rec. 2020 | color(rec2020 0.04865 0.02066 0.09512) |
| Adobe RGB | color(a98-rgb 0.12783 0.07816 0.17759) |
| ProPhoto RGB | color(prophoto-rgb 0.08457 0.05391 0.116) |
| Linear sRGB | color(srgb-linear 0.0137 0.00368 0.02315) |
| XYZ D65 | color(xyz-d65 0.01114 0.00721 0.02271) |
| XYZ D50 | color(xyz-d50 0.0107 0.00709 0.01708) |
| SwiftUI | Color(red: 0.122, green: 0.047, blue: 0.165) |
| UIKit | UIColor(red: 0.122, green: 0.047, blue: 0.165, alpha: 1) |
| Flutter / Compose | Color(0xFF1F0C2A) |
| Android XML | #1F0C2A |

## Facts

- Closest name: Midnight Monarch
- Hue family: Purple, soft very dark purple
- Closest Tailwind class: mauve-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 18.35:1
- Contrast with black: 1.14:1

## Tints

#1f0c2a, #32203d, #463650, #5a4c64, #706379, #867b8e, #9d94a4, #b5aeba, #cdc8d1, #e6e3e8

## Shades

#1f0c2a, #190923, #14061c, #0f0416, #0a0310, #06020a, #030105, #010002, #000001, #000000

## Tones

#1f0c2a, #1e0d28, #1d0f26, #1c1024, #1c1122, #1b1220, #1a131e, #19141c, #18151a, #171518

## Harmonies

- Complementary: #1f0c2a, #0b1b00
- Split: #1f0c2a, #1c1600, #001e0d
- Analogous: #1f0c2a, #121131, #27081e
- Triadic: #1f0c2a, #270f00, #001d1c
- Tetradic: #1f0c2a, #2c070f, #0b1b00, #001d1c
- Square: #1f0c2a, #2c0900, #0b1b00, #001b28
- Monochromatic: #1f0c2a, #0d0016, #0d0016, #3d294a, #5e496c

## Questions about #1f0c2a

### What color is #1f0c2a?

#1f0c2a is soft very dark purple. The closest named color is Midnight Monarch. In RGB it is rgb(31, 12, 42), in HSL hsl(278, 55.56%, 10.59%) and in OKLCH oklch(20.044% 0.06131 311.323).

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

The complementary color of #1f0c2a is #0b1b00. For a calmer combination use the analogous colors #121131 and #27081e. The triadic partners are #270f00 and #001d1c.

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

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

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

#1f0c2a is a neutral color. In OKLCH its hue is 311 degrees, its lightness 20% and its chroma 0.061.
