# #5a4a97 color: Liberty

#5a4a97 is rgb(90, 74, 151) in RGB and oklch(46.37% 0.12126 290.434) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a4a97 |
| RGB | rgb(90, 74, 151) |
| HSL | hsl(252.47, 34.22%, 44.12%) |
| HSB / HSV | hsv(252.47 50.99% 59.22%) |
| HWB | hwb(252.47 29.02% 40.78%) |
| CMYK | cmyk(40% 51% 0% 41%) |
| Lab | lab(36.1 21.71 -40.64) |
| LCH | lch(36.1 46.08 298.11) |
| OKLab | oklab(46.37% 0.04233 -0.11363) |
| OKLCH | oklch(46.37% 0.12126 290.434) |
| Display P3 | color(display-p3 0.3428 0.29254 0.57349) |
| Rec. 2020 | color(rec2020 0.29092 0.24039 0.52544) |
| Adobe RGB | color(a98-rgb 0.33897 0.29547 0.57802) |
| ProPhoto RGB | color(prophoto-rgb 0.30824 0.24339 0.49069) |
| Linear sRGB | color(srgb-linear 0.10224 0.06848 0.30947) |
| XYZ D65 | color(xyz-d65 0.1225 0.09306 0.3043) |
| XYZ D50 | color(xyz-d50 0.11524 0.0906 0.22906) |
| SwiftUI | Color(red: 0.353, green: 0.29, blue: 0.592) |
| UIKit | UIColor(red: 0.353, green: 0.29, blue: 0.592, alpha: 1) |
| Flutter / Compose | Color(0xFF5A4A97) |
| Android XML | #5A4A97 |

## 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.34:1
- Contrast with black: 2.86:1

## Tints

#5a4a97, #685ca2, #776dad, #877fb7, #9790c2, #a7a2cc, #b8b4d7, #c9c7e1, #dbd9eb, #edecf5

## Shades

#5a4a97, #4d3f83, #41356f, #352a5c, #292049, #1e1737, #130e26, #090617, #030208, #000001

## Tones

#5a4a97, #5a4c91, #594e8b, #595085, #59527f, #595379, #595573, #59566c, #595766, #595860

## Harmonies

- Complementary: #5a4a97, #5e5e00
- Split: #5a4a97, #7a5000, #2d6921
- Analogous: #5a4a97, #2f579c, #763f82
- Triadic: #5a4a97, #8c4001, #006c50
- Tetradic: #5a4a97, #893862, #5e5e00, #006c50
- Square: #5a4a97, #91373b, #5e5e00, #00696f
- Monochromatic: #5a4a97, #1f024e, #3b2872, #7c6dbe, #9f92e5

## Questions about #5a4a97

### What color is #5a4a97?

#5a4a97 is soft dark violet. The closest named color is Liberty. In RGB it is rgb(90, 74, 151), in HSL hsl(252.47, 34.22%, 44.12%) and in OKLCH oklch(46.37% 0.12126 290.434).

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

The complementary color of #5a4a97 is #5e5e00. For a calmer combination use the analogous colors #2f579c and #763f82. The triadic partners are #8c4001 and #006c50.

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

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

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

#5a4a97 is a cool color. In OKLCH its hue is 290 degrees, its lightness 46.4% and its chroma 0.121.
