# #1f1242 color: Shadow Planet

#1f1242 is rgb(31, 18, 66) in RGB and oklch(23.24% 0.0862 290.568) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f1242 |
| RGB | rgb(31, 18, 66) |
| HSL | hsl(256.25, 57.14%, 16.47%) |
| HSB / HSV | hsv(256.25 72.73% 25.88%) |
| HWB | hwb(256.25 7.06% 74.12%) |
| CMYK | cmyk(53% 73% 0% 74%) |
| Lab | lab(9.55 17.66 -28.68) |
| LCH | lch(9.55 33.68 301.62) |
| OKLab | oklab(23.24% 0.03029 -0.08071) |
| OKLCH | oklch(23.24% 0.0862 290.568) |
| Display P3 | color(display-p3 0.11405 0.07276 0.2485) |
| Rec. 2020 | color(rec2020 0.05827 0.03208 0.18507) |
| Adobe RGB | color(a98-rgb 0.13139 0.09802 0.26182) |
| ProPhoto RGB | color(prophoto-rgb 0.10366 0.06918 0.18528) |
| Linear sRGB | color(srgb-linear 0.0137 0.00605 0.05448) |
| XYZ D65 | color(xyz-d65 0.01765 0.01117 0.05277) |
| XYZ D50 | color(xyz-d50 0.0161 0.01069 0.03968) |
| SwiftUI | Color(red: 0.122, green: 0.071, blue: 0.259) |
| UIKit | UIColor(red: 0.122, green: 0.071, blue: 0.259, alpha: 1) |
| Flutter / Compose | Color(0xFF1F1242) |
| Android XML | #1F1242 |

## Facts

- Closest name: Shadow Planet
- 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.16:1
- Contrast with black: 1.22:1

## Tints

#1f1242, #312854, #443d66, #585378, #6e6a8b, #84819e, #9c99b1, #b4b2c4, #cccbd7, #e5e5eb

## Shades

#1f1242, #190e38, #140a2f, #0f0725, #0a041c, #060214, #03010b, #010105, #000001, #000000

## Tones

#1f1242, #1f143e, #1e163b, #1e1737, #1e1834, #1d1a30, #1d1b2d, #1d1b29, #1d1c25, #1d1d21

## Harmonies

- Complementary: #1f1242, #202000
- Split: #1f1242, #2d1800, #002600
- Analogous: #1f1242, #031a45, #2e0b36
- Triadic: #1f1242, #3a0b00, #002719
- Tetradic: #1f1242, #380523, #202000, #002719
- Square: #1f1242, #3d040b, #202000, #002529
- Monochromatic: #1f1242, #090024, #090024, #3c3164, #5b5288

## Questions about #1f1242

### What color is #1f1242?

#1f1242 is soft very dark violet. The closest named color is Shadow Planet. In RGB it is rgb(31, 18, 66), in HSL hsl(256.25, 57.14%, 16.47%) and in OKLCH oklch(23.24% 0.0862 290.568).

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

The complementary color of #1f1242 is #202000. For a calmer combination use the analogous colors #031a45 and #2e0b36. The triadic partners are #3a0b00 and #002719.

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

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

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

#1f1242 is a cool color. In OKLCH its hue is 291 degrees, its lightness 23.2% and its chroma 0.086.
