# #5a4795 color: Liberty

#5a4795 is rgb(90, 71, 149) in RGB and oklch(45.679% 0.12315 292.022) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a4795 |
| RGB | rgb(90, 71, 149) |
| HSL | hsl(254.62, 35.45%, 43.14%) |
| HSB / HSV | hsv(254.62 52.35% 58.43%) |
| HWB | hwb(254.62 27.84% 41.57%) |
| CMYK | cmyk(40% 52% 0% 42%) |
| Lab | lab(35.23 23.03 -40.82) |
| LCH | lch(35.23 46.87 299.43) |
| OKLab | oklab(45.679% 0.04618 -0.11417) |
| OKLCH | oklch(45.679% 0.12315 292.022) |
| Display P3 | color(display-p3 0.34112 0.28129 0.56569) |
| Rec. 2020 | color(rec2020 0.28706 0.22951 0.51701) |
| Adobe RGB | color(a98-rgb 0.33637 0.2845 0.57026) |
| ProPhoto RGB | color(prophoto-rgb 0.30385 0.23461 0.48241) |
| Linear sRGB | color(srgb-linear 0.10224 0.06301 0.30054) |
| XYZ D65 | color(xyz-d65 0.11894 0.0885 0.29516) |
| XYZ D50 | color(xyz-d50 0.11185 0.08614 0.22216) |
| SwiftUI | Color(red: 0.353, green: 0.278, blue: 0.584) |
| UIKit | UIColor(red: 0.353, green: 0.278, blue: 0.584, alpha: 1) |
| Flutter / Compose | Color(0xFF5A4795) |
| Android XML | #5A4795 |

## 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.58:1
- Contrast with black: 2.77:1

## Tints

#5a4795, #6859a0, #776bab, #877db6, #978fc1, #a7a1cb, #b8b3d6, #c9c6e0, #dbd9eb, #edecf5

## Shades

#5a4795, #4d3d81, #41326d, #35285a, #291f48, #1e1637, #130d26, #090616, #030208, #000001

## Tones

#5a4795, #59498f, #594b89, #584d83, #584f7d, #585177, #575271, #57546a, #575564, #57565e

## Harmonies

- Complementary: #5a4795, #5a5c00
- Split: #5a4795, #764f00, #266721
- Analogous: #5a4795, #2f549b, #763c7f
- Triadic: #5a4795, #8a3e00, #006a50
- Tetradic: #5a4795, #88355e, #5a5c00, #006a50
- Square: #5a4795, #8f3537, #5a5c00, #00666e
- Monochromatic: #5a4795, #1f004c, #3b2570, #7c6abc, #9f8ee3

## Questions about #5a4795

### What color is #5a4795?

#5a4795 is soft dark violet. The closest named color is Liberty. In RGB it is rgb(90, 71, 149), in HSL hsl(254.62, 35.45%, 43.14%) and in OKLCH oklch(45.679% 0.12315 292.022).

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

The complementary color of #5a4795 is #5a5c00. For a calmer combination use the analogous colors #2f549b and #763c7f. The triadic partners are #8a3e00 and #006a50.

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

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

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

#5a4795 is a cool color. In OKLCH its hue is 292 degrees, its lightness 45.7% and its chroma 0.123.
