# #5c4798 color: Liberty

#5c4798 is rgb(92, 71, 152) in RGB and oklch(46.073% 0.12743 292.64) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5c4798 |
| RGB | rgb(92, 71, 152) |
| HSL | hsl(255.56, 36.32%, 43.73%) |
| HSB / HSV | hsv(255.56 53.29% 59.61%) |
| HWB | hwb(255.56 27.84% 40.39%) |
| CMYK | cmyk(39% 53% 0% 40%) |
| Lab | lab(35.6 24.31 -42.03) |
| LCH | lch(35.6 48.55 300.05) |
| OKLab | oklab(46.073% 0.04905 -0.11761) |
| OKLCH | oklch(46.073% 0.12743 292.64) |
| Display P3 | color(display-p3 0.34786 0.28163 0.57693) |
| Rec. 2020 | color(rec2020 0.29336 0.23056 0.52903) |
| Adobe RGB | color(a98-rgb 0.34205 0.2845 0.58162) |
| ProPhoto RGB | color(prophoto-rgb 0.31017 0.23611 0.49397) |
| Linear sRGB | color(srgb-linear 0.10702 0.06301 0.31399) |
| XYZ D65 | color(xyz-d65 0.12334 0.09049 0.30804) |
| XYZ D50 | color(xyz-d50 0.11586 0.08802 0.23183) |
| SwiftUI | Color(red: 0.361, green: 0.278, blue: 0.596) |
| UIKit | UIColor(red: 0.361, green: 0.278, blue: 0.596, alpha: 1) |
| Flutter / Compose | Color(0xFF5C4798) |
| Android XML | #5C4798 |

## 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.47:1
- Contrast with black: 2.81:1

## Tints

#5c4798, #6a59a3, #796bae, #887db8, #988fc3, #a9a1cd, #b9b3d7, #cac6e1, #dbd9eb, #edecf5

## Shades

#5c4798, #4f3d84, #423270, #36285c, #2a1f4a, #1f1638, #140d27, #0a0617, #030208, #000001

## Tones

#5c4798, #5b4a92, #5b4c8c, #5a4e85, #5a507f, #595279, #595373, #59556c, #585666, #58575f

## Harmonies

- Complementary: #5c4798, #5a5e00
- Split: #5c4798, #775000, #236920
- Analogous: #5c4798, #30549e, #793c81
- Triadic: #5c4798, #8d3e00, #006b52
- Tetradic: #5c4798, #8b345f, #5a5e00, #006b52
- Square: #5c4798, #923435, #5a5e00, #006770
- Monochromatic: #5c4798, #21004f, #3d2473, #7e6abf, #a18fe7

## Questions about #5c4798

### What color is #5c4798?

#5c4798 is soft dark violet. The closest named color is Liberty. In RGB it is rgb(92, 71, 152), in HSL hsl(255.56, 36.32%, 43.73%) and in OKLCH oklch(46.073% 0.12743 292.64).

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

The complementary color of #5c4798 is #5a5e00. For a calmer combination use the analogous colors #30549e and #793c81. The triadic partners are #8d3e00 and #006b52.

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

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

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

#5c4798 is a cool color. In OKLCH its hue is 293 degrees, its lightness 46.1% and its chroma 0.127.
