# #1f0a38 color: Middle Red Purple

#1f0a38 is rgb(31, 10, 56) in RGB and oklch(20.945% 0.08423 299.967) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f0a38 |
| RGB | rgb(31, 10, 56) |
| HSL | hsl(267.39, 69.7%, 12.94%) |
| HSB / HSV | hsv(267.39 82.14% 21.96%) |
| HWB | hwb(267.39 3.92% 78.04%) |
| CMYK | cmyk(45% 82% 0% 78%) |
| Lab | lab(6.88 19.75 -25.85) |
| LCH | lch(6.88 32.53 307.39) |
| OKLab | oklab(20.945% 0.04207 -0.07297) |
| OKLCH | oklch(20.945% 0.08423 299.967) |
| Display P3 | color(display-p3 0.11096 0.04366 0.21047) |
| Rec. 2020 | color(rec2020 0.05089 0.01884 0.14672) |
| Adobe RGB | color(a98-rgb 0.12684 0.07164 0.22617) |
| ProPhoto RGB | color(prophoto-rgb 0.09265 0.05334 0.15483) |
| Linear sRGB | color(srgb-linear 0.0137 0.00304 0.03955) |
| XYZ D65 | color(xyz-d65 0.01387 0.00794 0.03822) |
| XYZ D50 | color(xyz-d50 0.0128 0.00762 0.02873) |
| SwiftUI | Color(red: 0.122, green: 0.039, blue: 0.22) |
| UIKit | UIColor(red: 0.122, green: 0.039, blue: 0.22, alpha: 1) |
| Flutter / Compose | Color(0xFF1F0A38) |
| Android XML | #1F0A38 |

## Facts

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

## Tints

#1f0a38, #31204b, #45365d, #594d70, #6f6484, #857c98, #9c95ac, #b4afc0, #ccc9d5, #e5e4ea

## Shades

#1f0a38, #19072f, #140527, #0f031f, #0a0217, #06010f, #030108, #010004, #000001, #000000

## Tones

#1f0a38, #1e0d35, #1d0f32, #1d102f, #1c122c, #1b1329, #1b1425, #1a1622, #19161f, #19171c

## Harmonies

- Complementary: #1f0a38, #151c00
- Split: #1f0a38, #231600, #002201
- Analogous: #1f0a38, #0a123e, #2c042a
- Triadic: #1f0a38, #2e0d00, #002019
- Tetradic: #1f0a38, #330017, #151c00, #002019
- Square: #1f0a38, #360100, #151c00, #001e26
- Monochromatic: #1f0a38, #0c0020, #0c0020, #3c295a, #5c4a7d

## Questions about #1f0a38

### What color is #1f0a38?

#1f0a38 is deep very dark violet. The closest named color is Middle Red Purple. In RGB it is rgb(31, 10, 56), in HSL hsl(267.39, 69.7%, 12.94%) and in OKLCH oklch(20.945% 0.08423 299.967).

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

The complementary color of #1f0a38 is #151c00. For a calmer combination use the analogous colors #0a123e and #2c042a. The triadic partners are #2e0d00 and #002019.

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

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

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

#1f0a38 is a cool color. In OKLCH its hue is 300 degrees, its lightness 20.9% and its chroma 0.084.
