# #5a4b98 color: Liberty

#5a4b98 is rgb(90, 75, 152) in RGB and oklch(46.624% 0.12112 289.833) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a4b98 |
| RGB | rgb(90, 75, 152) |
| HSL | hsl(251.69, 33.92%, 44.51%) |
| HSB / HSV | hsv(251.69 50.66% 59.61%) |
| HWB | hwb(251.69 29.41% 40.39%) |
| CMYK | cmyk(41% 51% 0% 40%) |
| Lab | lab(36.41 21.35 -40.75) |
| LCH | lch(36.41 46.01 297.65) |
| OKLab | oklab(46.624% 0.04109 -0.11393) |
| OKLCH | oklch(46.624% 0.12112 289.833) |
| Display P3 | color(display-p3 0.34337 0.2963 0.57734) |
| Rec. 2020 | color(rec2020 0.29235 0.24407 0.52959) |
| Adobe RGB | color(a98-rgb 0.33986 0.29914 0.58188) |
| ProPhoto RGB | color(prophoto-rgb 0.31002 0.24642 0.49473) |
| Linear sRGB | color(srgb-linear 0.10224 0.07036 0.31399) |
| XYZ D65 | color(xyz-d65 0.12399 0.09473 0.30882) |
| XYZ D50 | color(xyz-d50 0.11661 0.09222 0.23247) |
| SwiftUI | Color(red: 0.353, green: 0.294, blue: 0.596) |
| UIKit | UIColor(red: 0.353, green: 0.294, blue: 0.596, alpha: 1) |
| Flutter / Compose | Color(0xFF5A4B98) |
| Android XML | #5A4B98 |

## 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.25:1
- Contrast with black: 2.89:1

## Tints

#5a4b98, #685ca3, #776eae, #877fb8, #9791c3, #a7a3cd, #b8b5d7, #c9c7e1, #dbd9eb, #edecf5

## Shades

#5a4b98, #4d4084, #413570, #352b5c, #29214a, #1e1738, #130e27, #090617, #030208, #000001

## Tones

#5a4b98, #5a4d92, #594f8c, #595186, #595380, #59547a, #595573, #59576d, #595867, #595960

## Harmonies

- Complementary: #5a4b98, #5f5e00
- Split: #5a4b98, #7b5000, #306921
- Analogous: #5a4b98, #2e589d, #774083
- Triadic: #5a4b98, #8d4105, #006d4f
- Tetradic: #5a4b98, #893863, #5f5e00, #006d4f
- Square: #5a4b98, #91383d, #5f5e00, #00696f
- Monochromatic: #5a4b98, #1f034f, #3b2973, #7c6ebf, #9f93e7

## Questions about #5a4b98

### What color is #5a4b98?

#5a4b98 is soft dark violet. The closest named color is Liberty. In RGB it is rgb(90, 75, 152), in HSL hsl(251.69, 33.92%, 44.51%) and in OKLCH oklch(46.624% 0.12112 289.833).

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

The complementary color of #5a4b98 is #5f5e00. For a calmer combination use the analogous colors #2e589d and #774083. The triadic partners are #8d4105 and #006d4f.

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

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

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

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