# #1f0f35 color: Midnight Monarch

#1f0f35 is rgb(31, 15, 53) in RGB and oklch(21.507% 0.07176 299.757) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f0f35 |
| RGB | rgb(31, 15, 53) |
| HSL | hsl(265.26, 55.88%, 13.33%) |
| HSB / HSV | hsv(265.26 71.7% 20.78%) |
| HWB | hwb(265.26 5.88% 79.22%) |
| CMYK | cmyk(42% 72% 0% 79%) |
| Lab | lab(7.8 16.15 -22.21) |
| LCH | lch(7.8 27.46 306.03) |
| OKLab | oklab(21.507% 0.03561 -0.0623) |
| OKLCH | oklch(21.507% 0.07176 299.757) |
| Display P3 | color(display-p3 0.11275 0.06171 0.19965) |
| Rec. 2020 | color(rec2020 0.0527 0.02585 0.13601) |
| Adobe RGB | color(a98-rgb 0.12949 0.08804 0.21586) |
| ProPhoto RGB | color(prophoto-rgb 0.09272 0.06107 0.14673) |
| Linear sRGB | color(srgb-linear 0.0137 0.00478 0.0356) |
| XYZ D65 | color(xyz-d65 0.01378 0.0089 0.03467) |
| XYZ D50 | color(xyz-d50 0.01291 0.00863 0.02608) |
| SwiftUI | Color(red: 0.122, green: 0.059, blue: 0.208) |
| UIKit | UIColor(red: 0.122, green: 0.059, blue: 0.208, alpha: 1) |
| Flutter / Compose | Color(0xFF1F0F35) |
| Android XML | #1F0F35 |

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

## Tints

#1f0f35, #312447, #45395a, #594f6e, #6f6681, #857e95, #9c96aa, #b4b0bf, #cdcad4, #e6e4e9

## Shades

#1f0f35, #190b2d, #140825, #0f051d, #0a0315, #06020e, #030108, #010003, #000001, #000000

## Tones

#1f0f35, #1e1132, #1e1230, #1d132d, #1c142a, #1c1528, #1b1625, #1b1722, #1a181f, #1a191c

## Harmonies

- Complementary: #1f0f35, #161d00
- Split: #1f0f35, #251700, #002205
- Analogous: #1f0f35, #0d153a, #2b0a29
- Triadic: #1f0f35, #300e00, #00221a
- Tetradic: #1f0f35, #320618, #161d00, #00221a
- Square: #1f0f35, #340704, #161d00, #002028
- Monochromatic: #1f0f35, #0b001c, #0b001c, #3c2d56, #5d4d79

## Questions about #1f0f35

### What color is #1f0f35?

#1f0f35 is soft very dark violet. The closest named color is Midnight Monarch. In RGB it is rgb(31, 15, 53), in HSL hsl(265.26, 55.88%, 13.33%) and in OKLCH oklch(21.507% 0.07176 299.757).

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

The complementary color of #1f0f35 is #161d00. For a calmer combination use the analogous colors #0d153a and #2b0a29. The triadic partners are #300e00 and #00221a.

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

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

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

#1f0f35 is a cool color. In OKLCH its hue is 300 degrees, its lightness 21.5% and its chroma 0.072.
