# #5a4c98 color: Liberty

#5a4c98 is rgb(90, 76, 152) in RGB and oklch(46.814% 0.11955 289.424) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a4c98 |
| RGB | rgb(90, 76, 152) |
| HSL | hsl(251.05, 33.33%, 44.71%) |
| HSB / HSV | hsv(251.05 50% 59.61%) |
| HWB | hwb(251.05 29.8% 40.39%) |
| CMYK | cmyk(41% 50% 0% 40%) |
| Lab | lab(36.67 20.76 -40.34) |
| LCH | lch(36.67 45.37 297.23) |
| OKLab | oklab(46.814% 0.03976 -0.11275) |
| OKLCH | oklch(46.814% 0.11955 289.424) |
| Display P3 | color(display-p3 0.34396 0.30006 0.57746) |
| Rec. 2020 | color(rec2020 0.29345 0.24765 0.52975) |
| Adobe RGB | color(a98-rgb 0.34076 0.30281 0.58195) |
| ProPhoto RGB | color(prophoto-rgb 0.31092 0.24926 0.49495) |
| Linear sRGB | color(srgb-linear 0.10224 0.07227 0.31399) |
| XYZ D65 | color(xyz-d65 0.12468 0.09609 0.30905) |
| XYZ D50 | color(xyz-d50 0.11734 0.09359 0.23266) |
| SwiftUI | Color(red: 0.353, green: 0.298, blue: 0.596) |
| UIKit | UIColor(red: 0.353, green: 0.298, blue: 0.596, alpha: 1) |
| Flutter / Compose | Color(0xFF5A4C98) |
| Android XML | #5A4C98 |

## 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.19:1
- Contrast with black: 2.92:1

## Tints

#5a4c98, #685da3, #776fae, #8780b8, #9792c3, #a7a3cd, #b8b5d7, #c9c7e1, #dbdaeb, #edecf5

## Shades

#5a4c98, #4d4184, #413670, #352c5c, #29224a, #1e1838, #130f27, #090617, #030208, #000001

## Tones

#5a4c98, #5a4e92, #59508c, #595286, #595380, #59557a, #595674, #59576e, #5a5867, #5a5961

## Harmonies

- Complementary: #5a4c98, #605f00
- Split: #5a4c98, #7c5000, #326a22
- Analogous: #5a4c98, #2e599c, #774184
- Triadic: #5a4c98, #8d420a, #006e4f
- Tetradic: #5a4c98, #893a64, #605f00, #006e4f
- Square: #5a4c98, #91393e, #605f00, #006a6f
- Monochromatic: #5a4c98, #1f054f, #3b2a73, #7c6fbf, #9f94e6

## Questions about #5a4c98

### What color is #5a4c98?

#5a4c98 is soft dark violet. The closest named color is Liberty. In RGB it is rgb(90, 76, 152), in HSL hsl(251.05, 33.33%, 44.71%) and in OKLCH oklch(46.814% 0.11955 289.424).

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

The complementary color of #5a4c98 is #605f00. For a calmer combination use the analogous colors #2e599c and #774184. The triadic partners are #8d420a and #006e4f.

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

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

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

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