# #5a2c87 color: Purple Patch

#5a2c87 is rgb(90, 44, 135) in RGB and oklch(40.251% 0.14643 303.682) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a2c87 |
| RGB | rgb(90, 44, 135) |
| HSL | hsl(270.33, 50.84%, 35.1%) |
| HSB / HSV | hsv(270.33 67.41% 52.94%) |
| HWB | hwb(270.33 17.25% 47.06%) |
| CMYK | cmyk(33% 67% 0% 47%) |
| Lab | lab(28.25 35.2 -43.41) |
| LCH | lch(28.25 55.89 309.04) |
| OKLab | oklab(40.251% 0.08121 -0.12185) |
| OKLCH | oklch(40.251% 0.14643 303.682) |
| Display P3 | color(display-p3 0.32924 0.18191 0.5108) |
| Rec. 2020 | color(rec2020 0.25925 0.13747 0.45787) |
| Adobe RGB | color(a98-rgb 0.31765 0.1875 0.51597) |
| ProPhoto RGB | color(prophoto-rgb 0.27278 0.16463 0.42504) |
| Linear sRGB | color(srgb-linear 0.10224 0.02519 0.24228) |
| XYZ D65 | color(xyz-d65 0.0949 0.05724 0.23527) |
| XYZ D50 | color(xyz-d50 0.08895 0.05549 0.17688) |
| SwiftUI | Color(red: 0.353, green: 0.173, blue: 0.529) |
| UIKit | UIColor(red: 0.353, green: 0.173, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF5A2C87) |
| Android XML | #5A2C87 |

## Facts

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

## Tints

#5a2c87, #694294, #7856a0, #886bac, #987fb8, #a894c5, #b9a9d0, #cabedc, #dbd3e8, #ede9f4

## Shades

#5a2c87, #4d2575, #411e63, #351751, #291141, #1e0a31, #130521, #090213, #030106, #000001

## Tones

#5a2c87, #583181, #56357b, #543875, #533b6f, #513e69, #4f4062, #4d435c, #4c4556, #4a474f

## Harmonies

- Complementary: #5a2c87, #3b5200
- Split: #5a2c87, #5b4600, #005b23
- Analogous: #5a2c87, #333b95, #731e68
- Triadic: #5a2c87, #703700, #00584e
- Tetradic: #5a2c87, #821440, #3b5200, #00584e
- Square: #5a2c87, #851900, #3b5200, #005466
- Monochromatic: #5a2c87, #190032, #3a0162, #7c50ad, #a074d5

## Questions about #5a2c87

### What color is #5a2c87?

#5a2c87 is soft dark purple. The closest named color is Purple Patch. In RGB it is rgb(90, 44, 135), in HSL hsl(270.33, 50.84%, 35.1%) and in OKLCH oklch(40.251% 0.14643 303.682).

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

The complementary color of #5a2c87 is #3b5200. For a calmer combination use the analogous colors #333b95 and #731e68. The triadic partners are #703700 and #00584e.

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

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

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

#5a2c87 is a neutral color. In OKLCH its hue is 304 degrees, its lightness 40.3% and its chroma 0.146.
