# #5b4a9d color: Liberty

#5b4a9d is rgb(91, 74, 157) in RGB and oklch(46.862% 0.12975 289.883) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b4a9d |
| RGB | rgb(91, 74, 157) |
| HSL | hsl(252.29, 35.93%, 45.29%) |
| HSB / HSV | hsv(252.29 52.87% 61.57%) |
| HWB | hwb(252.29 29.02% 38.43%) |
| CMYK | cmyk(42% 53% 0% 38%) |
| Lab | lab(36.52 23.42 -43.58) |
| LCH | lch(36.52 49.47 298.25) |
| OKLab | oklab(46.862% 0.04413 -0.12201) |
| OKLCH | oklch(46.862% 0.12975 289.883) |
| Display P3 | color(display-p3 0.34614 0.2927 0.59586) |
| Rec. 2020 | color(rec2020 0.29561 0.24138 0.5494) |
| Adobe RGB | color(a98-rgb 0.34178 0.29547 0.60079) |
| ProPhoto RGB | color(prophoto-rgb 0.3155 0.24513 0.51383) |
| Linear sRGB | color(srgb-linear 0.10462 0.06848 0.33716) |
| XYZ D65 | color(xyz-d65 0.12848 0.09556 0.33067) |
| XYZ D50 | color(xyz-d50 0.12023 0.09281 0.24887) |
| SwiftUI | Color(red: 0.357, green: 0.29, blue: 0.616) |
| UIKit | UIColor(red: 0.357, green: 0.29, blue: 0.616, alpha: 1) |
| Flutter / Compose | Color(0xFF5B4A9D) |
| Android XML | #5B4A9D |

## 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.21:1
- Contrast with black: 2.91:1

## Tints

#5b4a9d, #695ca7, #786db2, #887fbc, #9791c6, #a8a3d0, #b9b5da, #cac7e3, #dbd9ed, #edecf6

## Shades

#5b4a9d, #4e3f88, #413573, #352a5f, #29204c, #1e173a, #130e28, #090618, #030209, #000001

## Tones

#5b4a9d, #5b4c97, #5a4f90, #5a518a, #5a5383, #5a547d, #5a5676, #5a576f, #5a5868, #5a5961

## Harmonies

- Complementary: #5b4a9d, #605f00
- Split: #5b4a9d, #7c5100, #2c6b1b
- Analogous: #5b4a9d, #2b58a2, #793e87
- Triadic: #5b4a9d, #913f00, #006e50
- Tetradic: #5b4a9d, #8d3665, #605f00, #006e50
- Square: #5b4a9d, #95353b, #605f00, #006a70
- Monochromatic: #5b4a9d, #210053, #3c2777, #7d6dc4, #a092ec

## Questions about #5b4a9d

### What color is #5b4a9d?

#5b4a9d is soft dark violet. The closest named color is Liberty. In RGB it is rgb(91, 74, 157), in HSL hsl(252.29, 35.93%, 45.29%) and in OKLCH oklch(46.862% 0.12975 289.883).

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

The complementary color of #5b4a9d is #605f00. For a calmer combination use the analogous colors #2b58a2 and #793e87. The triadic partners are #913f00 and #006e50.

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

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

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

#5b4a9d is a cool color. In OKLCH its hue is 290 degrees, its lightness 46.9% and its chroma 0.13.
