# #5a316b color: Imperial Purple

#5a316b is rgb(90, 49, 107) in RGB and oklch(39.101% 0.10457 315.171) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a316b |
| RGB | rgb(90, 49, 107) |
| HSL | hsl(282.41, 37.18%, 30.59%) |
| HSB / HSV | hsv(282.41 54.21% 41.96%) |
| HWB | hwb(282.41 19.22% 58.04%) |
| CMYK | cmyk(16% 54% 0% 58%) |
| Lab | lab(27.76 27.12 -26.54) |
| LCH | lch(27.76 37.94 315.62) |
| OKLab | oklab(39.101% 0.07416 -0.07372) |
| OKLCH | oklch(39.101% 0.10457 315.171) |
| Display P3 | color(display-p3 0.33101 0.19995 0.40702) |
| Rec. 2020 | color(rec2020 0.25473 0.14998 0.34871) |
| Adobe RGB | color(a98-rgb 0.32046 0.2052 0.41198) |
| ProPhoto RGB | color(prophoto-rgb 0.2541 0.16962 0.32546) |
| Linear sRGB | color(srgb-linear 0.10224 0.03071 0.14703) |
| XYZ D65 | color(xyz-d65 0.07968 0.05432 0.14539) |
| XYZ D50 | color(xyz-d50 0.07745 0.05368 0.1094) |
| SwiftUI | Color(red: 0.353, green: 0.192, blue: 0.42) |
| UIKit | UIColor(red: 0.353, green: 0.192, blue: 0.42, alpha: 1) |
| Flutter / Compose | Color(0xFF5A316B) |
| Android XML | #5A316B |

## Facts

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

## Tints

#5a316b, #694479, #795888, #896b96, #997fa5, #aa94b4, #baa8c3, #cbbed2, #dcd3e1, #eee9f0

## Shades

#5a316b, #4d295c, #41224e, #351a3f, #291332, #1e0c25, #130618, #09030d, #030104, #000000

## Tones

#5a316b, #583467, #563664, #543960, #523b5c, #503d59, #4e3f55, #4c4051, #4a424d, #474449

## Harmonies

- Complementary: #5a316b, #2a510d
- Split: #5a316b, #4e4700, #005637
- Analogous: #5a316b, #413a7a, #6b2a52
- Triadic: #5a316b, #643b00, #005354
- Tetradic: #5a316b, #732833, #2a510d, #005354
- Square: #5a316b, #712f08, #2a510d, #004e6c
- Monochromatic: #5a316b, #190026, #391049, #7d528f, #a175b5

## Questions about #5a316b

### What color is #5a316b?

#5a316b is soft dark purple. The closest named color is Imperial Purple. In RGB it is rgb(90, 49, 107), in HSL hsl(282.41, 37.18%, 30.59%) and in OKLCH oklch(39.101% 0.10457 315.171).

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

The complementary color of #5a316b is #2a510d. For a calmer combination use the analogous colors #413a7a and #6b2a52. The triadic partners are #643b00 and #005354.

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

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

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

#5a316b is a neutral color. In OKLCH its hue is 315 degrees, its lightness 39.1% and its chroma 0.105.
