# #5a4a98 color: Liberty

#5a4a98 is rgb(90, 74, 152) in RGB and oklch(46.436% 0.12268 290.231) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a4a98 |
| RGB | rgb(90, 74, 152) |
| HSL | hsl(252.31, 34.51%, 44.31%) |
| HSB / HSV | hsv(252.31 51.32% 59.61%) |
| HWB | hwb(252.31 29.02% 40.39%) |
| CMYK | cmyk(41% 51% 0% 40%) |
| Lab | lab(36.15 21.95 -41.16) |
| LCH | lch(36.15 46.65 298.07) |
| OKLab | oklab(46.436% 0.04243 -0.11511) |
| OKLCH | oklch(46.436% 0.12268 290.231) |
| Display P3 | color(display-p3 0.3428 0.29254 0.57722) |
| Rec. 2020 | color(rec2020 0.29127 0.24049 0.52942) |
| Adobe RGB | color(a98-rgb 0.33897 0.29547 0.58181) |
| ProPhoto RGB | color(prophoto-rgb 0.30914 0.24361 0.49451) |
| Linear sRGB | color(srgb-linear 0.10224 0.06848 0.31399) |
| XYZ D65 | color(xyz-d65 0.12332 0.09338 0.3086) |
| XYZ D50 | color(xyz-d50 0.11588 0.09087 0.23229) |
| SwiftUI | Color(red: 0.353, green: 0.29, blue: 0.596) |
| UIKit | UIColor(red: 0.353, green: 0.29, blue: 0.596, alpha: 1) |
| Flutter / Compose | Color(0xFF5A4A98) |
| Android XML | #5A4A98 |

## 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.32:1
- Contrast with black: 2.87:1

## Tints

#5a4a98, #685ca3, #776dae, #877fb8, #9790c3, #a7a2cd, #b8b4d7, #c9c7e1, #dbd9eb, #edecf5

## Shades

#5a4a98, #4d3f84, #413570, #352a5c, #29204a, #1e1738, #130e27, #090617, #030208, #000001

## Tones

#5a4a98, #5a4c92, #594e8c, #595086, #595280, #595379, #595573, #59566d, #595766, #595860

## Harmonies

- Complementary: #5a4a98, #5e5e00
- Split: #5a4a98, #7a5000, #2d6920
- Analogous: #5a4a98, #2e579d, #773f83
- Triadic: #5a4a98, #8d4000, #006d50
- Tetradic: #5a4a98, #893762, #5e5e00, #006d50
- Square: #5a4a98, #91373b, #5e5e00, #00696f
- Monochromatic: #5a4a98, #20024f, #3b2873, #7c6dbf, #9f92e7

## Questions about #5a4a98

### What color is #5a4a98?

#5a4a98 is soft dark violet. The closest named color is Liberty. In RGB it is rgb(90, 74, 152), in HSL hsl(252.31, 34.51%, 44.31%) and in OKLCH oklch(46.436% 0.12268 290.231).

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

The complementary color of #5a4a98 is #5e5e00. For a calmer combination use the analogous colors #2e579d and #773f83. The triadic partners are #8d4000 and #006d50.

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

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

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

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