# #5f3161 color: Imperial Purple

#5f3161 is rgb(95, 49, 97) in RGB and oklch(39.199% 0.09598 325.679) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/5f3161

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f3161 |
| RGB | rgb(95, 49, 97) |
| HSL | hsl(297.5, 32.88%, 28.63%) |
| HSB / HSV | hsv(297.5 49.48% 38.04%) |
| HWB | hwb(297.5 19.22% 61.96%) |
| CMYK | cmyk(2% 49% 0% 62%) |
| Lab | lab(28.04 27.17 -19.61) |
| LCH | lch(28.04 33.51 324.19) |
| OKLab | oklab(39.199% 0.07927 -0.05412) |
| OKLCH | oklch(39.199% 0.09598 325.679) |
| Display P3 | color(display-p3 0.34847 0.20124 0.37034) |
| Rec. 2020 | color(rec2020 0.26722 0.15158 0.31056) |
| Adobe RGB | color(a98-rgb 0.33556 0.2052 0.37532) |
| ProPhoto RGB | color(prophoto-rgb 0.25838 0.17059 0.2919) |
| Linear sRGB | color(srgb-linear 0.11444 0.03071 0.11954) |
| XYZ D65 | color(xyz-d65 0.07975 0.05493 0.1195) |
| XYZ D50 | color(xyz-d50 0.07883 0.05473 0.08994) |
| SwiftUI | Color(red: 0.373, green: 0.192, blue: 0.38) |
| UIKit | UIColor(red: 0.373, green: 0.192, blue: 0.38, alpha: 1) |
| Flutter / Compose | Color(0xFF5F3161) |
| Android XML | #5F3161 |

## Facts

- Closest name: Imperial Purple
- Hue family: Purple, soft dark purple
- Closest Tailwind class: mauve-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 10.01:1
- Contrast with black: 2.1:1

## Tints

#5f3161, #6e4470, #7e577f, #8e6b8e, #9d7f9e, #ad93ae, #bda8be, #cebdce, #ded3de, #eee9ee

## Shades

#5f3161, #522953, #442246, #381a39, #2c132d, #200c21, #150615, #0a030b, #030103, #000000

## Tones

#5f3161, #5d345e, #5a365c, #583859, #563b56, #533d54, #503f51, #4e404e, #4b424b, #484448

## Harmonies

- Complementary: #5f3161, #1c5323
- Split: #5f3161, #444b00, #005543
- Analogous: #5f3161, #4a3973, #6c2c47
- Triadic: #5f3161, #5c4000, #00525c
- Tetradic: #5f3161, #702d29, #1c5323, #00525c
- Square: #5f3161, #6b3500, #1c5323, #004c71
- Monochromatic: #5f3161, #1d0020, #3d1140, #835284, #a875a9

## Questions about #5f3161

### What color is #5f3161?

#5f3161 is soft dark purple. The closest named color is Imperial Purple. In RGB it is rgb(95, 49, 97), in HSL hsl(297.5, 32.88%, 28.63%) and in OKLCH oklch(39.199% 0.09598 325.679).

### What colors go well with #5f3161?

The complementary color of #5f3161 is #1c5323. For a calmer combination use the analogous colors #4a3973 and #6c2c47. The triadic partners are #5c4000 and #00525c.

### Is white or black text more readable on #5f3161?

White text reads better on #5f3161: white gives a contrast ratio of 10.01:1 and black gives 2.1:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #5f3161 a warm or cool color?

#5f3161 is a neutral color. In OKLCH its hue is 326 degrees, its lightness 39.2% and its chroma 0.096.
