# #5b2f71 color: Imperial

#5b2f71 is rgb(91, 47, 113) in RGB and oklch(39.28% 0.1158 313.067) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b2f71 |
| RGB | rgb(91, 47, 113) |
| HSL | hsl(280, 41.25%, 31.37%) |
| HSB / HSV | hsv(280 58.41% 44.31%) |
| HWB | hwb(280 18.43% 55.69%) |
| CMYK | cmyk(19% 58% 0% 56%) |
| Lab | lab(27.75 29.65 -30.36) |
| LCH | lch(27.75 42.44 314.32) |
| OKLab | oklab(39.28% 0.07908 -0.0846) |
| OKLCH | oklch(39.28% 0.1158 313.067) |
| Display P3 | color(display-p3 0.33377 0.19297 0.42912) |
| Rec. 2020 | color(rec2020 0.25772 0.14465 0.37177) |
| Adobe RGB | color(a98-rgb 0.32232 0.1981 0.43401) |
| ProPhoto RGB | color(prophoto-rgb 0.25913 0.16672 0.346) |
| Linear sRGB | color(srgb-linear 0.10462 0.02843 0.16513) |
| XYZ D65 | color(xyz-d65 0.08311 0.0545 0.16237) |
| XYZ D50 | color(xyz-d50 0.08019 0.05366 0.12214) |
| SwiftUI | Color(red: 0.357, green: 0.184, blue: 0.443) |
| UIKit | UIColor(red: 0.357, green: 0.184, blue: 0.443, alpha: 1) |
| Flutter / Compose | Color(0xFF5B2F71) |
| Android XML | #5B2F71 |

## 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: 10.05:1
- Contrast with black: 2.09:1

## Tints

#5b2f71, #6a437f, #7a578d, #8a6b9b, #9a7fa9, #aa93b7, #bba8c6, #cbbdd4, #dcd3e2, #eee9f1

## Shades

#5b2f71, #4e2761, #412052, #351943, #291235, #1e0c27, #13061a, #09030e, #030104, #000001

## Tones

#5b2f71, #59326d, #573569, #553864, #533a60, #513c5c, #4f3e58, #4c4053, #4a424f, #48444a

## Harmonies

- Complementary: #5b2f71, #2b5200
- Split: #5b2f71, #504700, #005734
- Analogous: #5b2f71, #3f3a81, #6e2756
- Triadic: #5b2f71, #663a00, #005453
- Tetradic: #5b2f71, #772434, #2b5200, #005453
- Square: #5b2f71, #762a00, #2b5200, #004f6a
- Monochromatic: #5b2f71, #190028, #3a0c4e, #7e5196, #a274bc

## Questions about #5b2f71

### What color is #5b2f71?

#5b2f71 is soft dark purple. The closest named color is Imperial. In RGB it is rgb(91, 47, 113), in HSL hsl(280, 41.25%, 31.37%) and in OKLCH oklch(39.28% 0.1158 313.067).

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

The complementary color of #5b2f71 is #2b5200. For a calmer combination use the analogous colors #3f3a81 and #6e2756. The triadic partners are #663a00 and #005453.

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

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

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

#5b2f71 is a neutral color. In OKLCH its hue is 313 degrees, its lightness 39.3% and its chroma 0.116.
