# #1f1040 color: Shadow Planet

#1f1040 is rgb(31, 16, 64) in RGB and oklch(22.694% 0.08636 292.524) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f1040 |
| RGB | rgb(31, 16, 64) |
| HSL | hsl(258.75, 60%, 15.69%) |
| HSB / HSV | hsv(258.75 75% 25.1%) |
| HWB | hwb(258.75 6.27% 74.9%) |
| CMYK | cmyk(52% 75% 0% 75%) |
| Lab | lab(8.88 18.4 -28.35) |
| LCH | lch(8.88 33.8 302.99) |
| OKLab | oklab(22.694% 0.03308 -0.07978) |
| OKLCH | oklch(22.694% 0.08636 292.524) |
| Display P3 | color(display-p3 0.11317 0.06538 0.24085) |
| Rec. 2020 | color(rec2020 0.05636 0.02832 0.17732) |
| Adobe RGB | color(a98-rgb 0.1301 0.09136 0.25464) |
| ProPhoto RGB | color(prophoto-rgb 0.10112 0.06509 0.17903) |
| Linear sRGB | color(srgb-linear 0.0137 0.00518 0.05127) |
| XYZ D65 | color(xyz-d65 0.01676 0.01032 0.04962) |
| XYZ D50 | color(xyz-d50 0.01531 0.00987 0.03731) |
| SwiftUI | Color(red: 0.122, green: 0.063, blue: 0.251) |
| UIKit | UIColor(red: 0.122, green: 0.063, blue: 0.251, alpha: 1) |
| Flutter / Compose | Color(0xFF1F1040) |
| Android XML | #1F1040 |

## 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.41:1
- Contrast with black: 1.21:1

## Tints

#1f1040, #312652, #443b64, #595177, #6e688a, #84809c, #9c98b0, #b4b1c3, #cccad7, #e5e4eb

## Shades

#1f1040, #190c36, #14092d, #0f0624, #0a041b, #060213, #03010b, #010005, #000001, #000000

## Tones

#1f1040, #1e123d, #1e1439, #1e1536, #1d1732, #1d182f, #1d192b, #1c1a27, #1c1b24, #1c1b20

## Harmonies

- Complementary: #1f1040, #1d1f00
- Split: #1f1040, #2b1800, #002500
- Analogous: #1f1040, #051844, #2e0933
- Triadic: #1f1040, #370c00, #002519
- Tetradic: #1f1040, #370320, #1d1f00, #002519
- Square: #1f1040, #3b0307, #1d1f00, #002328
- Monochromatic: #1f1040, #090023, #090023, #3c2f62, #5c5086

## Questions about #1f1040

### What color is #1f1040?

#1f1040 is soft very dark violet. The closest named color is Shadow Planet. In RGB it is rgb(31, 16, 64), in HSL hsl(258.75, 60%, 15.69%) and in OKLCH oklch(22.694% 0.08636 292.524).

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

The complementary color of #1f1040 is #1d1f00. For a calmer combination use the analogous colors #051844 and #2e0933. The triadic partners are #370c00 and #002519.

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

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

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

#1f1040 is a cool color. In OKLCH its hue is 293 degrees, its lightness 22.7% and its chroma 0.086.
