# #1f0f3a color: Midnight Monarch

#1f0f3a is rgb(31, 15, 58) in RGB and oklch(21.954% 0.07917 296.399) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f0f3a |
| RGB | rgb(31, 15, 58) |
| HSL | hsl(262.33, 58.9%, 14.31%) |
| HSB / HSV | hsv(262.33 74.14% 22.75%) |
| HWB | hwb(262.33 5.88% 77.25%) |
| CMYK | cmyk(47% 74% 0% 77%) |
| Lab | lab(8.16 17.44 -25.23) |
| LCH | lch(8.16 30.67 304.66) |
| OKLab | oklab(21.954% 0.0352 -0.07091) |
| OKLCH | oklch(21.954% 0.07917 296.399) |
| Display P3 | color(display-p3 0.11275 0.06171 0.21833) |
| Rec. 2020 | color(rec2020 0.05401 0.02619 0.15467) |
| Adobe RGB | color(a98-rgb 0.12949 0.08804 0.2334) |
| ProPhoto RGB | color(prophoto-rgb 0.09618 0.06204 0.16115) |
| Linear sRGB | color(srgb-linear 0.0137 0.00478 0.04231) |
| XYZ D65 | color(xyz-d65 0.015 0.00938 0.04105) |
| XYZ D50 | color(xyz-d50 0.01387 0.00904 0.03087) |
| SwiftUI | Color(red: 0.122, green: 0.059, blue: 0.227) |
| UIKit | UIColor(red: 0.122, green: 0.059, blue: 0.227, alpha: 1) |
| Flutter / Compose | Color(0xFF1F0F3A) |
| Android XML | #1F0F3A |

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

## Tints

#1f0f3a, #31244c, #443a5f, #595072, #6f6785, #857f99, #9c97ad, #b4b0c1, #cccad5, #e5e4ea

## Shades

#1f0f3a, #190b31, #140828, #0f0520, #0a0318, #060210, #030109, #010004, #000001, #000000

## Tones

#1f0f3a, #1e1137, #1e1334, #1d1431, #1d152e, #1c162b, #1c1728, #1b1824, #1b1921, #1b1a1e

## Harmonies

- Complementary: #1f0f3a, #191e00
- Split: #1f0f3a, #271700, #002301
- Analogous: #1f0f3a, #09163f, #2c092d
- Triadic: #1f0f3a, #330d00, #00231a
- Tetradic: #1f0f3a, #34041b, #191e00, #00231a
- Square: #1f0f3a, #370505, #191e00, #002127
- Monochromatic: #1f0f3a, #0a0020, #0a0020, #3c2e5c, #5c4e7f

## Questions about #1f0f3a

### What color is #1f0f3a?

#1f0f3a is soft very dark violet. The closest named color is Midnight Monarch. In RGB it is rgb(31, 15, 58), in HSL hsl(262.33, 58.9%, 14.31%) and in OKLCH oklch(21.954% 0.07917 296.399).

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

The complementary color of #1f0f3a is #191e00. For a calmer combination use the analogous colors #09163f and #2c092d. The triadic partners are #330d00 and #00231a.

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

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

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

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