# #5837a2 color: Royalty

#5837a2 is rgb(88, 55, 162) in RGB and oklch(43.747% 0.16389 292.488) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/5837a2

## Formats

| Format | Value |
| --- | --- |
| HEX | #5837a2 |
| RGB | rgb(88, 55, 162) |
| HSL | hsl(258.5, 49.31%, 42.55%) |
| HSB / HSV | hsv(258.5 66.05% 63.53%) |
| HWB | hwb(258.5 21.57% 36.47%) |
| CMYK | cmyk(46% 66% 0% 36%) |
| Lab | lab(32.03 34.68 -53.82) |
| LCH | lch(32.03 64.02 302.8) |
| OKLab | oklab(43.747% 0.06268 -0.15143) |
| OKLCH | oklch(43.747% 0.16389 292.488) |
| Display P3 | color(display-p3 0.32649 0.22142 0.61256) |
| Rec. 2020 | color(rec2020 0.27167 0.17566 0.56687) |
| Adobe RGB | color(a98-rgb 0.31833 0.22661 0.61881) |
| ProPhoto RGB | color(prophoto-rgb 0.3008 0.19585 0.52992) |
| Linear sRGB | color(srgb-linear 0.09759 0.0382 0.36131) |
| XYZ D65 | color(xyz-d65 0.11911 0.07416 0.34987) |
| XYZ D50 | color(xyz-d50 0.10896 0.071 0.26308) |
| SwiftUI | Color(red: 0.345, green: 0.216, blue: 0.635) |
| UIKit | UIColor(red: 0.345, green: 0.216, blue: 0.635, alpha: 1) |
| Flutter / Compose | Color(0xFF5837A2) |
| Android XML | #5837A2 |

## Facts

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

## Tints

#5837a2, #664cac, #7560b7, #8474c1, #9588ca, #a59bd4, #b6afdd, #c8c2e6, #dad6ee, #ecebf7

## Shades

#5837a2, #4b2e8c, #3f2677, #331e63, #28164f, #1d0f3c, #12082a, #090319, #03010a, #000001

## Tones

#5837a2, #573c9a, #564092, #55438b, #544683, #53497b, #534b73, #524d6b, #524f63, #52505a

## Harmonies

- Complementary: #5837a2, #545700
- Split: #5837a2, #6f4a00, #006600
- Analogous: #5837a2, #1b49aa, #792785
- Triadic: #5837a2, #883500, #00644c
- Tetradic: #5837a2, #8f175a, #545700, #00644c
- Square: #5837a2, #981423, #545700, #006068
- Monochromatic: #5837a2, #1d004a, #3a0c7c, #795cca, #9c81f2

## Questions about #5837a2

### What color is #5837a2?

#5837a2 is soft dark violet. The closest named color is Royalty. In RGB it is rgb(88, 55, 162), in HSL hsl(258.5, 49.31%, 42.55%) and in OKLCH oklch(43.747% 0.16389 292.488).

### What colors go well with #5837a2?

The complementary color of #5837a2 is #545700. For a calmer combination use the analogous colors #1b49aa and #792785. The triadic partners are #883500 and #00644c.

### Is white or black text more readable on #5837a2?

White text reads better on #5837a2: white gives a contrast ratio of 8.46:1 and black gives 2.48:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #5837a2 a warm or cool color?

#5837a2 is a cool color. In OKLCH its hue is 292 degrees, its lightness 43.7% and its chroma 0.164.
