# #5a4796 color: Liberty

#5a4796 is rgb(90, 71, 150) in RGB and oklch(45.746% 0.12456 291.798) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a4796 |
| RGB | rgb(90, 71, 150) |
| HSL | hsl(254.43, 35.75%, 43.33%) |
| HSB / HSV | hsv(254.43 52.67% 58.82%) |
| HWB | hwb(254.43 27.84% 41.18%) |
| CMYK | cmyk(40% 53% 0% 41%) |
| Lab | lab(35.28 23.26 -41.34) |
| LCH | lch(35.28 47.43 299.36) |
| OKLab | oklab(45.746% 0.04625 -0.11566) |
| OKLCH | oklch(45.746% 0.12456 291.798) |
| Display P3 | color(display-p3 0.34112 0.28129 0.56941) |
| Rec. 2020 | color(rec2020 0.2874 0.22962 0.52099) |
| Adobe RGB | color(a98-rgb 0.33637 0.2845 0.57404) |
| ProPhoto RGB | color(prophoto-rgb 0.30475 0.23484 0.48623) |
| Linear sRGB | color(srgb-linear 0.10224 0.06301 0.30499) |
| XYZ D65 | color(xyz-d65 0.11974 0.08882 0.29939) |
| XYZ D50 | color(xyz-d50 0.11249 0.08641 0.22533) |
| SwiftUI | Color(red: 0.353, green: 0.278, blue: 0.588) |
| UIKit | UIColor(red: 0.353, green: 0.278, blue: 0.588, alpha: 1) |
| Flutter / Compose | Color(0xFF5A4796) |
| Android XML | #5A4796 |

## 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.56:1
- Contrast with black: 2.78:1

## Tints

#5a4796, #6859a1, #776bac, #877db7, #978fc1, #a7a1cc, #b8b3d6, #c9c6e1, #dbd9eb, #edecf5

## Shades

#5a4796, #4d3d82, #41326e, #35285b, #291f49, #1e1637, #130d26, #090616, #030208, #000001

## Tones

#5a4796, #594990, #594c8a, #584e84, #584f7e, #585177, #575271, #57546b, #575564, #57565e

## Harmonies

- Complementary: #5a4796, #5a5d00
- Split: #5a4796, #764f00, #266820
- Analogous: #5a4796, #2e549c, #763c80
- Triadic: #5a4796, #8b3e00, #006a50
- Tetradic: #5a4796, #89345f, #5a5d00, #006a50
- Square: #5a4796, #903437, #5a5d00, #00666e
- Monochromatic: #5a4796, #1f004d, #3b2571, #7c6abd, #9f8ee4

## Questions about #5a4796

### What color is #5a4796?

#5a4796 is soft dark violet. The closest named color is Liberty. In RGB it is rgb(90, 71, 150), in HSL hsl(254.43, 35.75%, 43.33%) and in OKLCH oklch(45.746% 0.12456 291.798).

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

The complementary color of #5a4796 is #5a5d00. For a calmer combination use the analogous colors #2e549c and #763c80. The triadic partners are #8b3e00 and #006a50.

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

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

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

#5a4796 is a cool color. In OKLCH its hue is 292 degrees, its lightness 45.7% and its chroma 0.125.
