# #5a4b9a color: Liberty

#5a4b9a is rgb(90, 75, 154) in RGB and oklch(46.756% 0.12397 289.449) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a4b9a |
| RGB | rgb(90, 75, 154) |
| HSL | hsl(251.39, 34.5%, 44.9%) |
| HSB / HSV | hsv(251.39 51.3% 60.39%) |
| HWB | hwb(251.39 29.41% 39.61%) |
| CMYK | cmyk(42% 51% 0% 40%) |
| Lab | lab(36.51 21.82 -41.79) |
| LCH | lch(36.51 47.15 297.57) |
| OKLab | oklab(46.756% 0.04128 -0.1169) |
| OKLCH | oklch(46.756% 0.12397 289.449) |
| Display P3 | color(display-p3 0.34337 0.2963 0.58478) |
| Rec. 2020 | color(rec2020 0.29304 0.24428 0.53755) |
| Adobe RGB | color(a98-rgb 0.33986 0.29914 0.58946) |
| ProPhoto RGB | color(prophoto-rgb 0.31184 0.24686 0.50241) |
| Linear sRGB | color(srgb-linear 0.10224 0.07036 0.32314) |
| XYZ D65 | color(xyz-d65 0.12564 0.09539 0.31752) |
| XYZ D50 | color(xyz-d50 0.11792 0.09278 0.23901) |
| SwiftUI | Color(red: 0.353, green: 0.294, blue: 0.604) |
| UIKit | UIColor(red: 0.353, green: 0.294, blue: 0.604, alpha: 1) |
| Flutter / Compose | Color(0xFF5A4B9A) |
| Android XML | #5A4B9A |

## Facts

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

## Tints

#5a4b9a, #685da5, #776eaf, #877fba, #9791c4, #a7a3ce, #b8b5d8, #c9c7e2, #dbdaec, #edecf5

## Shades

#5a4b9a, #4d4085, #413571, #352b5e, #29214b, #1e1739, #130e27, #090617, #030209, #000001

## Tones

#5a4b9a, #5a4d94, #594f8e, #595187, #595381, #59547b, #595675, #59576e, #595868, #5a5961

## Harmonies

- Complementary: #5a4b9a, #605e00
- Split: #5a4b9a, #7c5000, #2f6a1e
- Analogous: #5a4b9a, #2c589e, #774085
- Triadic: #5a4b9a, #8f4001, #006e4f
- Tetradic: #5a4b9a, #8b3864, #605e00, #006e4f
- Square: #5a4b9a, #93373d, #605e00, #006a6f
- Monochromatic: #5a4b9a, #200351, #3b2975, #7c6ec1, #9f93e9

## Questions about #5a4b9a

### What color is #5a4b9a?

#5a4b9a is soft dark violet. The closest named color is Liberty. In RGB it is rgb(90, 75, 154), in HSL hsl(251.39, 34.5%, 44.9%) and in OKLCH oklch(46.756% 0.12397 289.449).

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

The complementary color of #5a4b9a is #605e00. For a calmer combination use the analogous colors #2c589e and #774085. The triadic partners are #8f4001 and #006e4f.

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

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

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

#5a4b9a is a cool color. In OKLCH its hue is 289 degrees, its lightness 46.8% and its chroma 0.124.
