# #1f0f39 color: Midnight Monarch

#1f0f39 is rgb(31, 15, 57) in RGB and oklch(21.863% 0.0777 297.028) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f0f39 |
| RGB | rgb(31, 15, 57) |
| HSL | hsl(262.86, 58.33%, 14.12%) |
| HSB / HSV | hsv(262.86 73.68% 22.35%) |
| HWB | hwb(262.86 5.88% 77.65%) |
| CMYK | cmyk(46% 74% 0% 78%) |
| Lab | lab(8.09 17.18 -24.63) |
| LCH | lch(8.09 30.03 304.9) |
| OKLab | oklab(21.863% 0.03531 -0.06921) |
| OKLCH | oklch(21.863% 0.0777 297.028) |
| Display P3 | color(display-p3 0.11275 0.06171 0.21459) |
| Rec. 2020 | color(rec2020 0.05374 0.02612 0.15092) |
| Adobe RGB | color(a98-rgb 0.12949 0.08804 0.22988) |
| ProPhoto RGB | color(prophoto-rgb 0.09547 0.06184 0.15824) |
| Linear sRGB | color(srgb-linear 0.0137 0.00478 0.04092) |
| XYZ D65 | color(xyz-d65 0.01474 0.00928 0.03973) |
| XYZ D50 | color(xyz-d50 0.01367 0.00895 0.02987) |
| SwiftUI | Color(red: 0.122, green: 0.059, blue: 0.224) |
| UIKit | UIColor(red: 0.122, green: 0.059, blue: 0.224, alpha: 1) |
| Flutter / Compose | Color(0xFF1F0F39) |
| Android XML | #1F0F39 |

## Facts

- Closest name: Midnight Monarch
- Hue family: Violet, soft very dark violet
- Closest Tailwind class: indigo-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 17.71:1
- Contrast with black: 1.19:1

## Tints

#1f0f39, #31244b, #453a5e, #595071, #6f6784, #857e98, #9c97ac, #b4b0c0, #cccad5, #e5e4ea

## Shades

#1f0f39, #190b30, #140828, #0f051f, #0a0317, #060210, #030109, #010004, #000001, #000000

## Tones

#1f0f39, #1e1136, #1e1233, #1d1430, #1d152d, #1c162a, #1c1727, #1b1824, #1b1921, #1b1a1e

## Harmonies

- Complementary: #1f0f39, #191e00
- Split: #1f0f39, #271700, #002302
- Analogous: #1f0f39, #0a163e, #2c092c
- Triadic: #1f0f39, #320d00, #00231a
- Tetradic: #1f0f39, #34051b, #191e00, #00231a
- Square: #1f0f39, #360505, #191e00, #002128
- Monochromatic: #1f0f39, #0a001f, #0a001f, #3c2e5a, #5c4e7e

## Questions about #1f0f39

### What color is #1f0f39?

#1f0f39 is soft very dark violet. The closest named color is Midnight Monarch. In RGB it is rgb(31, 15, 57), in HSL hsl(262.86, 58.33%, 14.12%) and in OKLCH oklch(21.863% 0.0777 297.028).

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

The complementary color of #1f0f39 is #191e00. For a calmer combination use the analogous colors #0a163e and #2c092c. The triadic partners are #320d00 and #00231a.

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

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

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

#1f0f39 is a cool color. In OKLCH its hue is 297 degrees, its lightness 21.9% and its chroma 0.078.
