# #5f2f71 color: Imperial

#5f2f71 is rgb(95, 47, 113) in RGB and oklch(39.807% 0.11764 315.938) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f2f71 |
| RGB | rgb(95, 47, 113) |
| HSL | hsl(283.64, 41.25%, 31.37%) |
| HSB / HSV | hsv(283.64 58.41% 44.31%) |
| HWB | hwb(283.64 18.43% 55.69%) |
| CMYK | cmyk(16% 58% 0% 56%) |
| Lab | lab(28.34 30.94 -29.39) |
| LCH | lch(28.34 42.67 316.48) |
| OKLab | oklab(39.807% 0.08454 -0.08181) |
| OKLCH | oklch(39.807% 0.11764 315.938) |
| Display P3 | color(display-p3 0.34778 0.19405 0.42934) |
| Rec. 2020 | color(rec2020 0.26953 0.14676 0.372) |
| Adobe RGB | color(a98-rgb 0.33446 0.1981 0.43401) |
| ProPhoto RGB | color(prophoto-rgb 0.26752 0.16895 0.34622) |
| Linear sRGB | color(srgb-linear 0.11444 0.02843 0.16513) |
| XYZ D65 | color(xyz-d65 0.08716 0.05658 0.16256) |
| XYZ D50 | color(xyz-d50 0.08448 0.05585 0.12227) |
| SwiftUI | Color(red: 0.373, green: 0.184, blue: 0.443) |
| UIKit | UIColor(red: 0.373, green: 0.184, blue: 0.443, alpha: 1) |
| Flutter / Compose | Color(0xFF5F2F71) |
| Android XML | #5F2F71 |

## Facts

- Closest name: Imperial
- Hue family: Purple, soft dark purple
- Closest Tailwind class: fuchsia-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 9.85:1
- Contrast with black: 2.13:1

## Tints

#5f2f71, #6e437f, #7e578d, #8d6b9b, #9d7fa9, #ad93b7, #bda8c5, #cdbdd4, #ded3e2, #eee9f1

## Shades

#5f2f71, #522761, #442052, #381943, #2c1235, #200c27, #15061a, #0a030e, #030104, #000001

## Tones

#5f2f71, #5d326d, #5b3569, #583865, #563b61, #543d5d, #513f58, #4f4154, #4c4350, #4a454c

## Harmonies

- Complementary: #5f2f71, #265401
- Split: #5f2f71, #4f4900, #005839
- Analogous: #5f2f71, #443a82, #712754
- Triadic: #5f2f71, #663d00, #005556
- Tetradic: #5f2f71, #7a2531, #265401, #005556
- Square: #5f2f71, #782c00, #265401, #00506f
- Monochromatic: #5f2f71, #1c0028, #3e0c4e, #825196, #a774bc

## Questions about #5f2f71

### What color is #5f2f71?

#5f2f71 is soft dark purple. The closest named color is Imperial. In RGB it is rgb(95, 47, 113), in HSL hsl(283.64, 41.25%, 31.37%) and in OKLCH oklch(39.807% 0.11764 315.938).

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

The complementary color of #5f2f71 is #265401. For a calmer combination use the analogous colors #443a82 and #712754. The triadic partners are #663d00 and #005556.

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

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

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

#5f2f71 is a neutral color. In OKLCH its hue is 316 degrees, its lightness 39.8% and its chroma 0.118.
