# #5a4b9d color: Liberty

#5a4b9d is rgb(90, 75, 157) in RGB and oklch(46.956% 0.12823 288.893) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a4b9d |
| RGB | rgb(90, 75, 157) |
| HSL | hsl(250.98, 35.34%, 45.49%) |
| HSB / HSV | hsv(250.98 52.23% 61.57%) |
| HWB | hwb(250.98 29.41% 38.43%) |
| CMYK | cmyk(43% 52% 0% 38%) |
| Lab | lab(36.67 22.53 -43.34) |
| LCH | lch(36.67 48.85 297.47) |
| OKLab | oklab(46.956% 0.04152 -0.12132) |
| OKLCH | oklch(46.956% 0.12823 288.893) |
| Display P3 | color(display-p3 0.34337 0.2963 0.59595) |
| Rec. 2020 | color(rec2020 0.2941 0.24461 0.54952) |
| Adobe RGB | color(a98-rgb 0.33986 0.29914 0.60085) |
| ProPhoto RGB | color(prophoto-rgb 0.31461 0.24753 0.514) |
| Linear sRGB | color(srgb-linear 0.10224 0.07036 0.33716) |
| XYZ D65 | color(xyz-d65 0.12817 0.0964 0.33085) |
| XYZ D50 | color(xyz-d50 0.11992 0.09363 0.24902) |
| SwiftUI | Color(red: 0.353, green: 0.294, blue: 0.616) |
| UIKit | UIColor(red: 0.353, green: 0.294, blue: 0.616, alpha: 1) |
| Flutter / Compose | Color(0xFF5A4B9D) |
| Android XML | #5A4B9D |

## 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.17:1
- Contrast with black: 2.93:1

## Tints

#5a4b9d, #685da7, #776eb2, #8780bc, #9791c6, #a7a3d0, #b8b5d9, #c9c7e3, #dbdaec, #edecf6

## Shades

#5a4b9d, #4d4088, #413573, #352b5f, #29214c, #1e173a, #130e28, #090618, #030209, #000001

## Tones

#5a4b9d, #5a4d97, #594f90, #59518a, #595383, #59557d, #595676, #5a576f, #5a5969, #5a5a62

## Harmonies

- Complementary: #5a4b9d, #615f00
- Split: #5a4b9d, #7d5000, #2f6b1a
- Analogous: #5a4b9d, #2a59a1, #783f88
- Triadic: #5a4b9d, #913f00, #006f4f
- Tetradic: #5a4b9d, #8c3766, #615f00, #006f4f
- Square: #5a4b9d, #95363d, #615f00, #006b6f
- Monochromatic: #5a4b9d, #200153, #3b2877, #7c6ec4, #9f93ec

## Questions about #5a4b9d

### What color is #5a4b9d?

#5a4b9d is soft dark violet. The closest named color is Liberty. In RGB it is rgb(90, 75, 157), in HSL hsl(250.98, 35.34%, 45.49%) and in OKLCH oklch(46.956% 0.12823 288.893).

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

The complementary color of #5a4b9d is #615f00. For a calmer combination use the analogous colors #2a59a1 and #783f88. The triadic partners are #913f00 and #006f4f.

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

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

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

#5a4b9d is a cool color. In OKLCH its hue is 289 degrees, its lightness 47% and its chroma 0.128.
