# #1f0842 color: Your Darkness

#1f0842 is rgb(31, 8, 66) in RGB and oklch(21.689% 0.1001 294.466) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f0842 |
| RGB | rgb(31, 8, 66) |
| HSL | hsl(263.79, 78.38%, 14.51%) |
| HSB / HSV | hsv(263.79 87.88% 25.88%) |
| HWB | hwb(263.79 3.14% 74.12%) |
| CMYK | cmyk(53% 88% 0% 74%) |
| Lab | lab(7.31 23.52 -32.33) |
| LCH | lch(7.31 39.98 306.04) |
| OKLab | oklab(21.689% 0.04146 -0.09111) |
| OKLCH | oklch(21.689% 0.1001 294.466) |
| Display P3 | color(display-p3 0.11032 0.03621 0.24784) |
| Rec. 2020 | color(rec2020 0.0529 0.01709 0.18425) |
| Adobe RGB | color(a98-rgb 0.1259 0.06472 0.26148) |
| ProPhoto RGB | color(prophoto-rgb 0.09952 0.0527 0.18437) |
| Linear sRGB | color(srgb-linear 0.0137 0.00243 0.05448) |
| XYZ D65 | color(xyz-d65 0.01635 0.00858 0.05234) |
| XYZ D50 | color(xyz-d50 0.01471 0.00809 0.03933) |
| SwiftUI | Color(red: 0.122, green: 0.031, blue: 0.259) |
| UIKit | UIColor(red: 0.122, green: 0.031, blue: 0.259, alpha: 1) |
| Flutter / Compose | Color(0xFF1F0842) |
| Android XML | #1F0842 |

## Facts

- Closest name: Your Darkness
- Hue family: Violet, deep very dark violet
- Closest Tailwind class: indigo-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 17.92:1
- Contrast with black: 1.17:1

## Tints

#1f0842, #302154, #443766, #584e79, #6e658b, #847d9e, #9b96b1, #b3afc4, #ccc9d8, #e5e4eb

## Shades

#1f0842, #190638, #14042f, #0f0325, #0a021c, #060114, #03010b, #010005, #000001, #000000

## Tones

#1f0842, #1e0c3e, #1d0f3a, #1d1136, #1c1332, #1c142e, #1b162a, #1b1726, #1a1822, #1a191e

## Harmonies

- Complementary: #1f0842, #1a1d00
- Split: #1f0842, #271600, #002400
- Analogous: #1f0842, #031347, #2e0133
- Triadic: #1f0842, #330b00, #002218
- Tetradic: #1f0842, #38001d, #1a1d00, #002218
- Square: #1f0842, #3c0001, #1a1d00, #002126
- Monochromatic: #1f0842, #0a0023, #0a0023, #3c2a65, #5b4a89

## Questions about #1f0842

### What color is #1f0842?

#1f0842 is deep very dark violet. The closest named color is Your Darkness. In RGB it is rgb(31, 8, 66), in HSL hsl(263.79, 78.38%, 14.51%) and in OKLCH oklch(21.689% 0.1001 294.466).

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

The complementary color of #1f0842 is #1a1d00. For a calmer combination use the analogous colors #031347 and #2e0133. The triadic partners are #330b00 and #002218.

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

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

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

#1f0842 is a cool color. In OKLCH its hue is 294 degrees, its lightness 21.7% and its chroma 0.1.
