# #171231 color: Lost in Sadness

#171231 is rgb(23, 18, 49) in RGB and oklch(20.805% 0.05922 287.509) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #171231 |
| RGB | rgb(23, 18, 49) |
| HSL | hsl(249.68, 46.27%, 13.14%) |
| HSB / HSV | hsv(249.68 63.27% 19.22%) |
| HWB | hwb(249.68 7.06% 80.78%) |
| CMYK | cmyk(53% 63% 0% 81%) |
| Lab | lab(7.32 10.16 -20.11) |
| LCH | lch(7.32 22.54 296.81) |
| OKLab | oklab(20.805% 0.01782 -0.05647) |
| OKLCH | oklch(20.805% 0.05922 287.509) |
| Display P3 | color(display-p3 0.08699 0.07131 0.18475) |
| Rec. 2020 | color(rec2020 0.03914 0.02926 0.12129) |
| Adobe RGB | color(a98-rgb 0.11036 0.09802 0.20209) |
| ProPhoto RGB | color(prophoto-rgb 0.08101 0.06346 0.13565) |
| Linear sRGB | color(srgb-linear 0.00857 0.00605 0.03071) |
| XYZ D65 | color(xyz-d65 0.01124 0.00837 0.03008) |
| XYZ D50 | color(xyz-d50 0.01046 0.0081 0.02264) |
| SwiftUI | Color(red: 0.09, green: 0.071, blue: 0.192) |
| UIKit | UIColor(red: 0.09, green: 0.071, blue: 0.192, alpha: 1) |
| Flutter / Compose | Color(0xFF171231) |
| Android XML | #171231 |

## Facts

- Closest name: Lost in Sadness
- 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.99:1
- Contrast with black: 1.17:1

## Tints

#171231, #292644, #3d3b57, #52516a, #69677e, #807f93, #9897a8, #b1b0bd, #cacad3, #e4e4e9

## Shades

#171231, #120e29, #0e0a22, #0a071a, #060413, #04020c, #020106, #010103, #000001, #000000

## Tones

#171231, #17132f, #17142c, #17142a, #171527, #171625, #171622, #171720, #17171d, #18171a

## Harmonies

- Complementary: #171231, #1b1900
- Split: #171231, #261300, #091e02
- Analogous: #171231, #051732, #230d29
- Triadic: #171231, #2c0d00, #002012
- Tetradic: #171231, #2a0a1d, #1b1900, #002012
- Square: #171231, #2e090d, #1b1900, #001f21
- Monochromatic: #171231, #06011b, #06011b, #333052, #535074

## Questions about #171231

### What color is #171231?

#171231 is soft very dark violet. The closest named color is Lost in Sadness. In RGB it is rgb(23, 18, 49), in HSL hsl(249.68, 46.27%, 13.14%) and in OKLCH oklch(20.805% 0.05922 287.509).

### What colors go well with #171231?

The complementary color of #171231 is #1b1900. For a calmer combination use the analogous colors #051732 and #230d29. The triadic partners are #2c0d00 and #002012.

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

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

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

#171231 is a cool color. In OKLCH its hue is 288 degrees, its lightness 20.8% and its chroma 0.059.
