# #1f0f3b color: Midnight Monarch

#1f0f3b is rgb(31, 15, 59) in RGB and oklch(22.046% 0.08064 295.789) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f0f3b |
| RGB | rgb(31, 15, 59) |
| HSL | hsl(261.82, 59.46%, 14.51%) |
| HSB / HSV | hsv(261.82 74.58% 23.14%) |
| HWB | hwb(261.82 5.88% 76.86%) |
| CMYK | cmyk(47% 75% 0% 77%) |
| Lab | lab(8.24 17.71 -25.83) |
| LCH | lch(8.24 31.31 304.43) |
| OKLab | oklab(22.046% 0.03508 -0.07261) |
| OKLCH | oklch(22.046% 0.08064 295.789) |
| Display P3 | color(display-p3 0.11275 0.06171 0.22207) |
| Rec. 2020 | color(rec2020 0.05429 0.02626 0.15841) |
| Adobe RGB | color(a98-rgb 0.12949 0.08804 0.23692) |
| ProPhoto RGB | color(prophoto-rgb 0.09691 0.06225 0.16408) |
| Linear sRGB | color(srgb-linear 0.0137 0.00478 0.04374) |
| XYZ D65 | color(xyz-d65 0.01525 0.00949 0.04241) |
| XYZ D50 | color(xyz-d50 0.01407 0.00912 0.03189) |
| SwiftUI | Color(red: 0.122, green: 0.059, blue: 0.231) |
| UIKit | UIColor(red: 0.122, green: 0.059, blue: 0.231, alpha: 1) |
| Flutter / Compose | Color(0xFF1F0F3B) |
| Android XML | #1F0F3B |

## 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.65:1
- Contrast with black: 1.19:1

## Tints

#1f0f3b, #31244d, #443a60, #595073, #6e6786, #857f99, #9c97ad, #b4b0c1, #cccad5, #e5e4ea

## Shades

#1f0f3b, #190b32, #140829, #0f0521, #0a0319, #060211, #030109, #010004, #000001, #000000

## Tones

#1f0f3b, #1e1138, #1e1335, #1d1432, #1d152e, #1c172b, #1c1828, #1c1825, #1b1921, #1b1a1e

## Harmonies

- Complementary: #1f0f3b, #1a1e00
- Split: #1f0f3b, #281700, #002300
- Analogous: #1f0f3b, #09163f, #2c082e
- Triadic: #1f0f3b, #330d00, #002319
- Tetradic: #1f0f3b, #35041c, #1a1e00, #002319
- Square: #1f0f3b, #380405, #1a1e00, #002127
- Monochromatic: #1f0f3b, #0a0020, #0a0020, #3c2e5d, #5c4e80

## Questions about #1f0f3b

### What color is #1f0f3b?

#1f0f3b is soft very dark violet. The closest named color is Midnight Monarch. In RGB it is rgb(31, 15, 59), in HSL hsl(261.82, 59.46%, 14.51%) and in OKLCH oklch(22.046% 0.08064 295.789).

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

The complementary color of #1f0f3b is #1a1e00. For a calmer combination use the analogous colors #09163f and #2c082e. The triadic partners are #330d00 and #002319.

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

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

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

#1f0f3b is a cool color. In OKLCH its hue is 296 degrees, its lightness 22% and its chroma 0.081.
