# #5a4a9f color: Liberty

#5a4a9f is rgb(90, 74, 159) in RGB and oklch(46.906% 0.13257 288.898) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a4a9f |
| RGB | rgb(90, 74, 159) |
| HSL | hsl(251.29, 36.48%, 45.69%) |
| HSB / HSV | hsv(251.29 53.46% 62.35%) |
| HWB | hwb(251.29 29.02% 37.65%) |
| CMYK | cmyk(43% 53% 0% 38%) |
| Lab | lab(36.53 23.6 -44.77) |
| LCH | lch(36.53 50.61 297.8) |
| OKLab | oklab(46.906% 0.04294 -0.12543) |
| OKLCH | oklch(46.906% 0.13257 288.898) |
| Display P3 | color(display-p3 0.3428 0.29254 0.60328) |
| Rec. 2020 | color(rec2020 0.29374 0.24127 0.55736) |
| Adobe RGB | color(a98-rgb 0.33897 0.29547 0.60839) |
| ProPhoto RGB | color(prophoto-rgb 0.31562 0.24519 0.52156) |
| Linear sRGB | color(srgb-linear 0.10224 0.06848 0.3467) |
| XYZ D65 | color(xyz-d65 0.12922 0.09574 0.33969) |
| XYZ D50 | color(xyz-d50 0.12056 0.09286 0.25565) |
| SwiftUI | Color(red: 0.353, green: 0.29, blue: 0.624) |
| UIKit | UIColor(red: 0.353, green: 0.29, blue: 0.624, alpha: 1) |
| Flutter / Compose | Color(0xFF5A4A9F) |
| Android XML | #5A4A9F |

## Facts

- Closest name: Liberty
- Hue family: Violet, soft dark violet
- Closest Tailwind class: indigo-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.2:1
- Contrast with black: 2.91:1

## Tints

#5a4a9f, #685ca9, #776eb3, #877fbd, #9791c7, #a7a3d1, #b8b5da, #c9c7e4, #dbdaed, #edecf6

## Shades

#5a4a9f, #4d3f8a, #413575, #352a61, #29204d, #1e173b, #130e29, #090618, #030209, #000001

## Tones

#5a4a9f, #5a4d98, #594f92, #59518b, #595384, #59547e, #595677, #595770, #5a5869, #5a5962

## Harmonies

- Complementary: #5a4a9f, #615f00
- Split: #5a4a9f, #7d5000, #2d6b16
- Analogous: #5a4a9f, #2758a3, #793e89
- Triadic: #5a4a9f, #933d00, #006e4f
- Tetradic: #5a4a9f, #8e3566, #615f00, #006e4f
- Square: #5a4a9f, #97343c, #615f00, #006a6f
- Monochromatic: #5a4a9f, #200055, #3b2779, #7b6dc6, #9f92ee

## Questions about #5a4a9f

### What color is #5a4a9f?

#5a4a9f is soft dark violet. The closest named color is Liberty. In RGB it is rgb(90, 74, 159), in HSL hsl(251.29, 36.48%, 45.69%) and in OKLCH oklch(46.906% 0.13257 288.898).

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

The complementary color of #5a4a9f is #615f00. For a calmer combination use the analogous colors #2758a3 and #793e89. The triadic partners are #933d00 and #006e4f.

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

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

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

#5a4a9f is a cool color. In OKLCH its hue is 289 degrees, its lightness 46.9% and its chroma 0.133.
