# #5a2f6a color: Imperial Purple

#5a2f6a is rgb(90, 47, 106) in RGB and oklch(38.711% 0.10698 316.122) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a2f6a |
| RGB | rgb(90, 47, 106) |
| HSL | hsl(283.73, 38.56%, 30%) |
| HSB / HSV | hsv(283.73 55.66% 41.57%) |
| HWB | hwb(283.73 18.43% 58.43%) |
| CMYK | cmyk(15% 56% 0% 58%) |
| Lab | lab(27.26 28.06 -26.68) |
| LCH | lch(27.26 38.72 316.44) |
| OKLab | oklab(38.711% 0.07711 -0.07415) |
| OKLCH | oklch(38.711% 0.10698 316.122) |
| Display P3 | color(display-p3 0.33028 0.1927 0.40308) |
| Rec. 2020 | color(rec2020 0.25299 0.1434 0.34454) |
| Adobe RGB | color(a98-rgb 0.3193 0.1981 0.40817) |
| ProPhoto RGB | color(prophoto-rgb 0.25216 0.16479 0.32165) |
| Linear sRGB | color(srgb-linear 0.10224 0.02843 0.14413) |
| XYZ D65 | color(xyz-d65 0.07834 0.05247 0.14236) |
| XYZ D50 | color(xyz-d50 0.07615 0.05186 0.10711) |
| SwiftUI | Color(red: 0.353, green: 0.184, blue: 0.416) |
| UIKit | UIColor(red: 0.353, green: 0.184, blue: 0.416, alpha: 1) |
| Flutter / Compose | Color(0xFF5A2F6A) |
| Android XML | #5A2F6A |

## 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.25:1
- Contrast with black: 2.05:1

## Tints

#5a2f6a, #694378, #795687, #896a96, #997ea4, #aa93b3, #baa8c2, #cbbdd1, #dcd3e0, #eee9f0

## Shades

#5a2f6a, #4d275b, #41204d, #35193f, #291231, #1e0c24, #130618, #09030d, #030104, #000000

## Tones

#5a2f6a, #583266, #563463, #54375f, #52395b, #503b58, #4d3d54, #4b3f50, #49414c, #474348

## Harmonies

- Complementary: #5a2f6a, #27500b
- Split: #5a2f6a, #4c4600, #005537
- Analogous: #5a2f6a, #41397a, #6b2850
- Triadic: #5a2f6a, #623a00, #005153
- Tetradic: #5a2f6a, #722630, #27500b, #005153
- Square: #5a2f6a, #702d02, #27500b, #004d6b
- Monochromatic: #5a2f6a, #190024, #390d48, #7d508e, #a273b4

## Questions about #5a2f6a

### What color is #5a2f6a?

#5a2f6a is soft dark purple. The closest named color is Imperial Purple. In RGB it is rgb(90, 47, 106), in HSL hsl(283.73, 38.56%, 30%) and in OKLCH oklch(38.711% 0.10698 316.122).

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

The complementary color of #5a2f6a is #27500b. For a calmer combination use the analogous colors #41397a and #6b2850. The triadic partners are #623a00 and #005153.

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

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

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

#5a2f6a is a neutral color. In OKLCH its hue is 316 degrees, its lightness 38.7% and its chroma 0.107.
