# #5a4798 color: Liberty

#5a4798 is rgb(90, 71, 152) in RGB and oklch(45.88% 0.12737 291.36) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a4798 |
| RGB | rgb(90, 71, 152) |
| HSL | hsl(254.07, 36.32%, 43.73%) |
| HSB / HSV | hsv(254.07 53.29% 59.61%) |
| HWB | hwb(254.07 27.84% 40.39%) |
| CMYK | cmyk(41% 53% 0% 40%) |
| Lab | lab(35.39 23.72 -42.38) |
| LCH | lch(35.39 48.56 299.24) |
| OKLab | oklab(45.88% 0.04639 -0.11862) |
| OKLCH | oklch(45.88% 0.12737 291.36) |
| Display P3 | color(display-p3 0.34112 0.28129 0.57686) |
| Rec. 2020 | color(rec2020 0.2881 0.22984 0.52895) |
| Adobe RGB | color(a98-rgb 0.33637 0.2845 0.58162) |
| ProPhoto RGB | color(prophoto-rgb 0.30657 0.23528 0.49389) |
| Linear sRGB | color(srgb-linear 0.10224 0.06301 0.31399) |
| XYZ D65 | color(xyz-d65 0.12136 0.08947 0.30794) |
| XYZ D50 | color(xyz-d50 0.11378 0.08695 0.23176) |
| SwiftUI | Color(red: 0.353, green: 0.278, blue: 0.596) |
| UIKit | UIColor(red: 0.353, green: 0.278, blue: 0.596, alpha: 1) |
| Flutter / Compose | Color(0xFF5A4798) |
| Android XML | #5A4798 |

## 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.53:1
- Contrast with black: 2.79:1

## Tints

#5a4798, #6859a3, #776bae, #877db8, #978fc3, #a7a1cd, #b8b3d7, #c9c6e1, #dbd9eb, #edecf5

## Shades

#5a4798, #4d3d84, #413270, #35285c, #291f4a, #1e1638, #130d27, #090617, #030208, #000001

## Tones

#5a4798, #594992, #594c8c, #584e85, #58507f, #585179, #585372, #58546c, #575565, #57575e

## Harmonies

- Complementary: #5a4798, #5b5d00
- Split: #5a4798, #774f00, #26681d
- Analogous: #5a4798, #2d549e, #773b82
- Triadic: #5a4798, #8d3d00, #006b50
- Tetradic: #5a4798, #8a3460, #5b5d00, #006b50
- Square: #5a4798, #913337, #5b5d00, #00676e
- Monochromatic: #5a4798, #20004f, #3b2473, #7c6abf, #9f8fe7

## Questions about #5a4798

### What color is #5a4798?

#5a4798 is soft dark violet. The closest named color is Liberty. In RGB it is rgb(90, 71, 152), in HSL hsl(254.07, 36.32%, 43.73%) and in OKLCH oklch(45.88% 0.12737 291.36).

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

The complementary color of #5a4798 is #5b5d00. For a calmer combination use the analogous colors #2d549e and #773b82. The triadic partners are #8d3d00 and #006b50.

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

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

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

#5a4798 is a cool color. In OKLCH its hue is 291 degrees, its lightness 45.9% and its chroma 0.127.
