# #1f0c3c color: Middle Red Purple

#1f0c3c is rgb(31, 12, 60) in RGB and oklch(21.643% 0.08674 296.549) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f0c3c |
| RGB | rgb(31, 12, 60) |
| HSL | hsl(263.75, 66.67%, 14.12%) |
| HSB / HSV | hsv(263.75 80% 23.53%) |
| HWB | hwb(263.75 4.71% 76.47%) |
| CMYK | cmyk(48% 80% 0% 76%) |
| Lab | lab(7.61 19.8 -27.56) |
| LCH | lch(7.61 33.93 305.68) |
| OKLab | oklab(21.643% 0.03877 -0.07759) |
| OKLCH | oklch(21.643% 0.08674 296.549) |
| Display P3 | color(display-p3 0.11162 0.05081 0.22558) |
| Rec. 2020 | color(rec2020 0.05294 0.02178 0.16189) |
| Adobe RGB | color(a98-rgb 0.12783 0.07816 0.24033) |
| ProPhoto RGB | color(prophoto-rgb 0.09633 0.05738 0.16672) |
| Linear sRGB | color(srgb-linear 0.0137 0.00368 0.04519) |
| XYZ D65 | color(xyz-d65 0.01512 0.00881 0.04365) |
| XYZ D50 | color(xyz-d50 0.01386 0.00842 0.03282) |
| SwiftUI | Color(red: 0.122, green: 0.047, blue: 0.235) |
| UIKit | UIColor(red: 0.122, green: 0.047, blue: 0.235, alpha: 1) |
| Flutter / Compose | Color(0xFF1F0C3C) |
| Android XML | #1F0C3C |

## Facts

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

## Tints

#1f0c3c, #31224e, #443861, #594f74, #6e6687, #857e9a, #9c96ae, #b4b0c2, #ccc9d6, #e5e4ea

## Shades

#1f0c3c, #190933, #14062a, #0f0421, #0a0319, #060211, #03010a, #010004, #000001, #000000

## Tones

#1f0c3c, #1e0e39, #1e1035, #1d1232, #1c142f, #1c152b, #1b1628, #1b1724, #1a1821, #1a191d

## Harmonies

- Complementary: #1f0c3c, #181d00
- Split: #1f0c3c, #261700, #002300
- Analogous: #1f0c3c, #081441, #2d052e
- Triadic: #1f0c3c, #320c00, #002219
- Tetradic: #1f0c3c, #35011b, #181d00, #002219
- Square: #1f0c3c, #380102, #181d00, #002027
- Monochromatic: #1f0c3c, #0b0022, #0b0022, #3c2c5e, #5c4c82

## Questions about #1f0c3c

### What color is #1f0c3c?

#1f0c3c is deep very dark violet. The closest named color is Middle Red Purple. In RGB it is rgb(31, 12, 60), in HSL hsl(263.75, 66.67%, 14.12%) and in OKLCH oklch(21.643% 0.08674 296.549).

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

The complementary color of #1f0c3c is #181d00. For a calmer combination use the analogous colors #081441 and #2d052e. The triadic partners are #320c00 and #002219.

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

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

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

#1f0c3c is a cool color. In OKLCH its hue is 297 degrees, its lightness 21.6% and its chroma 0.087.
