# #1f0c39 color: Middle Red Purple

#1f0c39 is rgb(31, 12, 57) in RGB and oklch(21.352% 0.08256 298.463) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f0c39 |
| RGB | rgb(31, 12, 57) |
| HSL | hsl(265.33, 65.22%, 13.53%) |
| HSB / HSV | hsv(265.33 78.95% 22.35%) |
| HWB | hwb(265.33 4.71% 77.65%) |
| CMYK | cmyk(46% 79% 0% 78%) |
| Lab | lab(7.37 18.99 -25.78) |
| LCH | lch(7.37 32.02 306.37) |
| OKLab | oklab(21.352% 0.03935 -0.07258) |
| OKLCH | oklch(21.352% 0.08256 298.463) |
| Display P3 | color(display-p3 0.11162 0.05081 0.21435) |
| Rec. 2020 | color(rec2020 0.05211 0.02157 0.15063) |
| Adobe RGB | color(a98-rgb 0.12783 0.07816 0.22976) |
| ProPhoto RGB | color(prophoto-rgb 0.09414 0.05672 0.15792) |
| Linear sRGB | color(srgb-linear 0.0137 0.00368 0.04092) |
| XYZ D65 | color(xyz-d65 0.01435 0.0085 0.03959) |
| XYZ D50 | color(xyz-d50 0.01325 0.00816 0.02977) |
| SwiftUI | Color(red: 0.122, green: 0.047, blue: 0.224) |
| UIKit | UIColor(red: 0.122, green: 0.047, blue: 0.224, alpha: 1) |
| Flutter / Compose | Color(0xFF1F0C39) |
| Android XML | #1F0C39 |

## Facts

- Closest name: Middle Red Purple
- 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.95:1
- Contrast with black: 1.17:1

## Tints

#1f0c39, #31224b, #45385e, #594e71, #6f6585, #857d98, #9c96ac, #b4afc0, #ccc9d5, #e5e4ea

## Shades

#1f0c39, #190930, #140628, #0f041f, #0a0317, #060210, #030109, #010004, #000001, #000000

## Tones

#1f0c39, #1e0e36, #1e1033, #1d1230, #1c132d, #1c1429, #1b1626, #1a1723, #1a1820, #19181c

## Harmonies

- Complementary: #1f0c39, #161d00
- Split: #1f0c39, #251600, #002201
- Analogous: #1f0c39, #0a143e, #2c062b
- Triadic: #1f0c39, #300d00, #002119
- Tetradic: #1f0c39, #340219, #161d00, #002119
- Square: #1f0c39, #360202, #161d00, #001f27
- Monochromatic: #1f0c39, #0b0020, #0b0020, #3c2b5b, #5c4b7e

## Questions about #1f0c39

### What color is #1f0c39?

#1f0c39 is soft very dark violet. The closest named color is Middle Red Purple. In RGB it is rgb(31, 12, 57), in HSL hsl(265.33, 65.22%, 13.53%) and in OKLCH oklch(21.352% 0.08256 298.463).

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

The complementary color of #1f0c39 is #161d00. For a calmer combination use the analogous colors #0a143e and #2c062b. The triadic partners are #300d00 and #002119.

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

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

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

#1f0c39 is a cool color. In OKLCH its hue is 298 degrees, its lightness 21.4% and its chroma 0.083.
