# #1f0d38 color: Middle Red Purple

#1f0d38 is rgb(31, 13, 56) in RGB and oklch(21.423% 0.07956 298.682) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f0d38 |
| RGB | rgb(31, 13, 56) |
| HSL | hsl(265.12, 62.32%, 13.53%) |
| HSB / HSV | hsv(265.12 76.79% 21.96%) |
| HWB | hwb(265.12 5.1% 78.04%) |
| CMYK | cmyk(45% 77% 0% 78%) |
| Lab | lab(7.53 18.15 -24.82) |
| LCH | lch(7.53 30.75 306.19) |
| OKLab | oklab(21.423% 0.03818 -0.06979) |
| OKLCH | oklch(21.423% 0.07956 298.682) |
| Display P3 | color(display-p3 0.11198 0.05443 0.21069) |
| Rec. 2020 | color(rec2020 0.05236 0.02294 0.14698) |
| Adobe RGB | color(a98-rgb 0.12836 0.08144 0.22628) |
| ProPhoto RGB | color(prophoto-rgb 0.09386 0.05817 0.15512) |
| Linear sRGB | color(srgb-linear 0.0137 0.00402 0.03955) |
| XYZ D65 | color(xyz-d65 0.01423 0.00865 0.03833) |
| XYZ D50 | color(xyz-d50 0.01318 0.00833 0.02882) |
| SwiftUI | Color(red: 0.122, green: 0.051, blue: 0.22) |
| UIKit | UIColor(red: 0.122, green: 0.051, blue: 0.22, alpha: 1) |
| Flutter / Compose | Color(0xFF1F0D38) |
| Android XML | #1F0D38 |

## Facts

- Closest name: Middle Red Purple
- Hue family: Violet, soft very dark violet
- Closest Tailwind class: slate-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 17.9:1
- Contrast with black: 1.17:1

## Tints

#1f0d38, #31234a, #45385d, #594e70, #6f6684, #857d97, #9c96ac, #b4afc0, #ccc9d5, #e5e4ea

## Shades

#1f0d38, #190a2f, #140727, #0f051f, #0a0317, #06020f, #030108, #010004, #000001, #000000

## Tones

#1f0d38, #1e0f35, #1e1132, #1d122f, #1c142c, #1c1529, #1b1626, #1b1723, #1a1820, #1a181d

## Harmonies

- Complementary: #1f0d38, #161d00
- Split: #1f0d38, #251700, #002202
- Analogous: #1f0d38, #0b143d, #2c072b
- Triadic: #1f0d38, #300d00, #00221a
- Tetradic: #1f0d38, #330319, #161d00, #00221a
- Square: #1f0d38, #360402, #161d00, #002027
- Monochromatic: #1f0d38, #0b001f, #0b001f, #3c2c59, #5c4c7d

## Questions about #1f0d38

### What color is #1f0d38?

#1f0d38 is soft very dark violet. The closest named color is Middle Red Purple. In RGB it is rgb(31, 13, 56), in HSL hsl(265.12, 62.32%, 13.53%) and in OKLCH oklch(21.423% 0.07956 298.682).

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

The complementary color of #1f0d38 is #161d00. For a calmer combination use the analogous colors #0b143d and #2c072b. The triadic partners are #300d00 and #00221a.

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

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

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

#1f0d38 is a cool color. In OKLCH its hue is 299 degrees, its lightness 21.4% and its chroma 0.08.
