# #5a2fa3 color: Royalty

#5a2fa3 is rgb(90, 47, 163) in RGB and oklch(42.914% 0.17541 294.861) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a2fa3 |
| RGB | rgb(90, 47, 163) |
| HSL | hsl(262.24, 55.24%, 41.18%) |
| HSB / HSV | hsv(262.24 71.17% 63.92%) |
| HWB | hwb(262.24 18.43% 36.08%) |
| CMYK | cmyk(45% 71% 0% 36%) |
| Lab | lab(30.72 39.59 -56.54) |
| LCH | lch(30.72 69.02 305) |
| OKLab | oklab(42.914% 0.07374 -0.15915) |
| OKLCH | oklch(42.914% 0.17541 294.861) |
| Display P3 | color(display-p3 0.33028 0.1927 0.61579) |
| Rec. 2020 | color(rec2020 0.27151 0.15115 0.57019) |
| Adobe RGB | color(a98-rgb 0.3193 0.1981 0.62231) |
| ProPhoto RGB | color(prophoto-rgb 0.3007 0.179 0.53287) |
| Linear sRGB | color(srgb-linear 0.10224 0.02843 0.36625) |
| XYZ D65 | color(xyz-d65 0.11843 0.06851 0.3535) |
| XYZ D50 | color(xyz-d50 0.10794 0.06533 0.26572) |
| SwiftUI | Color(red: 0.353, green: 0.184, blue: 0.639) |
| UIKit | UIColor(red: 0.353, green: 0.184, blue: 0.639, alpha: 1) |
| Flutter / Compose | Color(0xFF5A2FA3) |
| Android XML | #5A2FA3 |

## Facts

- Closest name: Royalty
- Hue family: Violet, deep dark violet
- Closest Tailwind class: violet-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.86:1
- Contrast with black: 2.37:1

## Tints

#5a2fa3, #6846ad, #775bb8, #8670c2, #9684cb, #a698d4, #b7acde, #c9c1e6, #dad5ef, #edeaf7

## Shades

#5a2fa3, #4d278d, #412078, #351963, #29124f, #1e0c3c, #13062a, #090319, #03010a, #000001

## Tones

#5a2fa3, #58359b, #573a93, #563e8b, #544283, #53457a, #524772, #514a6a, #514c61, #504e58

## Harmonies

- Complementary: #5a2fa3, #4f5600
- Split: #5a2fa3, #6a4900, #006400
- Analogous: #5a2fa3, #1e43ae, #7b1c83
- Triadic: #5a2fa3, #823600, #00614c
- Tetradic: #5a2fa3, #910155, #4f5600, #00614c
- Square: #5a2fa3, #990015, #4f5600, #005d67
- Monochromatic: #5a2fa3, #1c0044, #3c007c, #7b55cb, #9e7af4

## Questions about #5a2fa3

### What color is #5a2fa3?

#5a2fa3 is deep dark violet. The closest named color is Royalty. In RGB it is rgb(90, 47, 163), in HSL hsl(262.24, 55.24%, 41.18%) and in OKLCH oklch(42.914% 0.17541 294.861).

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

The complementary color of #5a2fa3 is #4f5600. For a calmer combination use the analogous colors #1e43ae and #7b1c83. The triadic partners are #823600 and #00614c.

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

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

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

#5a2fa3 is a cool color. In OKLCH its hue is 295 degrees, its lightness 42.9% and its chroma 0.175.
