# #171131 color: Midnight Monarch

#171131 is rgb(23, 17, 49) in RGB and oklch(20.581% 0.06105 288.474) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/171131

## Formats

| Format | Value |
| --- | --- |
| HEX | #171131 |
| RGB | rgb(23, 17, 49) |
| HSL | hsl(251.25, 48.48%, 12.94%) |
| HSB / HSV | hsv(251.25 65.31% 19.22%) |
| HWB | hwb(251.25 6.67% 80.78%) |
| CMYK | cmyk(53% 65% 0% 81%) |
| Lab | lab(7.03 10.79 -20.57) |
| LCH | lch(7.03 23.23 297.69) |
| OKLab | oklab(20.581% 0.01934 -0.0579) |
| OKLCH | oklch(20.581% 0.06105 288.474) |
| Display P3 | color(display-p3 0.08641 0.06755 0.18463) |
| Rec. 2020 | color(rec2020 0.03848 0.02743 0.12116) |
| Adobe RGB | color(a98-rgb 0.10954 0.09468 0.20203) |
| ProPhoto RGB | color(prophoto-rgb 0.0804 0.06149 0.13551) |
| Linear sRGB | color(srgb-linear 0.00857 0.00561 0.03071) |
| XYZ D65 | color(xyz-d65 0.01108 0.00805 0.03003) |
| XYZ D50 | color(xyz-d50 0.01029 0.00779 0.0226) |
| SwiftUI | Color(red: 0.09, green: 0.067, blue: 0.192) |
| UIKit | UIColor(red: 0.09, green: 0.067, blue: 0.192, alpha: 1) |
| Flutter / Compose | Color(0xFF171131) |
| Android XML | #171131 |

## Facts

- Closest name: Midnight Monarch
- Hue family: Violet, soft very dark violet
- Closest Tailwind class: slate-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 18.09:1
- Contrast with black: 1.16:1

## Tints

#171131, #292544, #3d3a57, #52506a, #69677e, #807e93, #9897a8, #b1b0bd, #cacad3, #e4e4e9

## Shades

#171131, #120d29, #0e0922, #0a061a, #060413, #04020c, #020106, #010003, #000001, #000000

## Tones

#171131, #17122f, #17132c, #17142a, #171427, #171524, #171622, #17161f, #17171d, #17171a

## Harmonies

- Complementary: #171131, #1a1900
- Split: #171131, #261200, #071d01
- Analogous: #171131, #051633, #230c29
- Triadic: #171131, #2c0c00, #002012
- Tetradic: #171131, #2a091c, #1a1900, #002012
- Square: #171131, #2e080c, #1a1900, #001e20
- Monochromatic: #171131, #06011b, #06011b, #332f52, #534f74

## Questions about #171131

### What color is #171131?

#171131 is soft very dark violet. The closest named color is Midnight Monarch. In RGB it is rgb(23, 17, 49), in HSL hsl(251.25, 48.48%, 12.94%) and in OKLCH oklch(20.581% 0.06105 288.474).

### What colors go well with #171131?

The complementary color of #171131 is #1a1900. For a calmer combination use the analogous colors #051633 and #230c29. The triadic partners are #2c0c00 and #002012.

### Is white or black text more readable on #171131?

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

### Is #171131 a warm or cool color?

#171131 is a cool color. In OKLCH its hue is 288 degrees, its lightness 20.6% and its chroma 0.061.
