# #1f1034 color: Midnight Monarch

#1f1034 is rgb(31, 16, 52) in RGB and oklch(21.611% 0.06843 299.907) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f1034 |
| RGB | rgb(31, 16, 52) |
| HSL | hsl(265, 52.94%, 13.33%) |
| HSB / HSV | hsv(265 69.23% 20.39%) |
| HWB | hwb(265 6.27% 79.61%) |
| CMYK | cmyk(40% 69% 0% 80%) |
| Lab | lab(7.99 15.24 -21.17) |
| LCH | lch(7.99 26.08 305.76) |
| OKLab | oklab(21.611% 0.03412 -0.05932) |
| OKLCH | oklch(21.611% 0.06843 299.907) |
| Display P3 | color(display-p3 0.11317 0.06538 0.19601) |
| Rec. 2020 | color(rec2020 0.05306 0.02746 0.13242) |
| Adobe RGB | color(a98-rgb 0.1301 0.09136 0.21242) |
| ProPhoto RGB | color(prophoto-rgb 0.09256 0.0627 0.14402) |
| Linear sRGB | color(srgb-linear 0.0137 0.00518 0.03434) |
| XYZ D65 | color(xyz-d65 0.0137 0.0091 0.03352) |
| XYZ D50 | color(xyz-d50 0.01288 0.00884 0.02522) |
| SwiftUI | Color(red: 0.122, green: 0.063, blue: 0.204) |
| UIKit | UIColor(red: 0.122, green: 0.063, blue: 0.204, alpha: 1) |
| Flutter / Compose | Color(0xFF1F1034) |
| Android XML | #1F1034 |

## 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.77:1
- Contrast with black: 1.18:1

## Tints

#1f1034, #312546, #453a59, #59506d, #6f6780, #857e95, #9c97a9, #b4b0be, #cdcad3, #e6e4e9

## Shades

#1f1034, #190c2c, #140924, #0f061c, #0a0415, #06020e, #030107, #010003, #000001, #000000

## Tones

#1f1034, #1e1131, #1e132f, #1d142c, #1d152a, #1c1627, #1c1725, #1b1822, #1b181f, #1a191c

## Harmonies

- Complementary: #1f1034, #161d00
- Split: #1f1034, #251700, #002206
- Analogous: #1f1034, #0e1639, #2a0b28
- Triadic: #1f1034, #2f0f00, #00221b
- Tetradic: #1f1034, #310818, #161d00, #00221b
- Square: #1f1034, #330905, #161d00, #002028
- Monochromatic: #1f1034, #0a001b, #0a001b, #3c2e55, #5d4e78

## Questions about #1f1034

### What color is #1f1034?

#1f1034 is soft very dark violet. The closest named color is Midnight Monarch. In RGB it is rgb(31, 16, 52), in HSL hsl(265, 52.94%, 13.33%) and in OKLCH oklch(21.611% 0.06843 299.907).

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

The complementary color of #1f1034 is #161d00. For a calmer combination use the analogous colors #0e1639 and #2a0b28. The triadic partners are #2f0f00 and #00221b.

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

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

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

#1f1034 is a cool color. In OKLCH its hue is 300 degrees, its lightness 21.6% and its chroma 0.068.
