# #5a30a4 color: Royalty

#5a30a4 is rgb(90, 48, 164) in RGB and oklch(43.13% 0.17536 294.443) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a30a4 |
| RGB | rgb(90, 48, 164) |
| HSL | hsl(261.72, 54.72%, 41.57%) |
| HSB / HSV | hsv(261.72 70.73% 64.31%) |
| HWB | hwb(261.72 18.82% 35.69%) |
| CMYK | cmyk(45% 71% 0% 36%) |
| Lab | lab(30.98 39.31 -56.71) |
| LCH | lch(30.98 69 304.72) |
| OKLab | oklab(43.13% 0.07256 -0.15965) |
| OKLCH | oklch(43.13% 0.17536 294.443) |
| Display P3 | color(display-p3 0.33064 0.19632 0.6196) |
| Rec. 2020 | color(rec2020 0.27261 0.15444 0.57431) |
| Adobe RGB | color(a98-rgb 0.31988 0.20165 0.62617) |
| ProPhoto RGB | color(prophoto-rgb 0.30225 0.18147 0.53695) |
| Linear sRGB | color(srgb-linear 0.10224 0.02956 0.37124) |
| XYZ D65 | color(xyz-d65 0.11973 0.06968 0.35837) |
| XYZ D50 | color(xyz-d50 0.10908 0.06644 0.26939) |
| SwiftUI | Color(red: 0.353, green: 0.188, blue: 0.643) |
| UIKit | UIColor(red: 0.353, green: 0.188, blue: 0.643, alpha: 1) |
| Flutter / Compose | Color(0xFF5A30A4) |
| Android XML | #5A30A4 |

## 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.77:1
- Contrast with black: 2.39:1

## Tints

#5a30a4, #6847ae, #775cb8, #8671c2, #9685cc, #a699d5, #b7adde, #c9c1e7, #dad6ef, #edeaf7

## Shades

#5a30a4, #4d288e, #412179, #351a64, #291350, #1e0c3d, #13062b, #09031a, #03010a, #000001

## Tones

#5a30a4, #58369c, #573b94, #563f8c, #554283, #53457b, #534873, #524b6a, #514d62, #504e59

## Harmonies

- Complementary: #5a30a4, #505600
- Split: #5a30a4, #6b4900, #006500
- Analogous: #5a30a4, #1d44ae, #7c1d84
- Triadic: #5a30a4, #843600, #00624c
- Tetradic: #5a30a4, #910356, #505600, #00624c
- Square: #5a30a4, #9a0017, #505600, #005e68
- Monochromatic: #5a30a4, #1c0045, #3c007d, #7b56cc, #9e7bf5

## Questions about #5a30a4

### What color is #5a30a4?

#5a30a4 is deep dark violet. The closest named color is Royalty. In RGB it is rgb(90, 48, 164), in HSL hsl(261.72, 54.72%, 41.57%) and in OKLCH oklch(43.13% 0.17536 294.443).

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

The complementary color of #5a30a4 is #505600. For a calmer combination use the analogous colors #1d44ae and #7c1d84. The triadic partners are #843600 and #00624c.

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

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

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

#5a30a4 is a cool color. In OKLCH its hue is 294 degrees, its lightness 43.1% and its chroma 0.175.
