# #5a4b81 color: Gentian Violet

#5a4b81 is rgb(90, 75, 129) in RGB and oklch(45.222% 0.08749 295.475) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a4b81 |
| RGB | rgb(90, 75, 129) |
| HSL | hsl(256.67, 26.47%, 40%) |
| HSB / HSV | hsv(256.67 41.86% 50.59%) |
| HWB | hwb(256.67 29.41% 49.41%) |
| CMYK | cmyk(30% 42% 0% 49%) |
| Lab | lab(35.3 16.18 -28.51) |
| LCH | lch(35.3 32.78 299.58) |
| OKLab | oklab(45.222% 0.03763 -0.07898) |
| OKLCH | oklch(45.222% 0.08749 295.475) |
| Display P3 | color(display-p3 0.34337 0.2963 0.49201) |
| Rec. 2020 | color(rec2020 0.28512 0.24186 0.43885) |
| Adobe RGB | color(a98-rgb 0.33986 0.29914 0.49541) |
| ProPhoto RGB | color(prophoto-rgb 0.29071 0.24186 0.40896) |
| Linear sRGB | color(srgb-linear 0.10224 0.07036 0.21953) |
| XYZ D65 | color(xyz-d65 0.10694 0.08791 0.21903) |
| XYZ D50 | color(xyz-d50 0.10309 0.0865 0.16502) |
| SwiftUI | Color(red: 0.353, green: 0.294, blue: 0.506) |
| UIKit | UIColor(red: 0.353, green: 0.294, blue: 0.506, alpha: 1) |
| Flutter / Compose | Color(0xFF5A4B81) |
| Android XML | #5A4B81 |

## Facts

- Closest name: Gentian Violet
- Hue family: Violet, soft dark violet
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.61:1
- Contrast with black: 2.76:1

## Tints

#5a4b81, #695c8d, #786d9a, #887ea6, #9890b3, #a8a1c0, #b9b4cc, #cac6d9, #dbd9e6, #edecf2

## Shades

#5a4b81, #4d406f, #41355e, #352b4e, #29213e, #1e172e, #130e1f, #090612, #030206, #000001

## Tones

#5a4b81, #594c7d, #594e79, #584f74, #585070, #58516c, #575268, #575363, #56545f, #56555a

## Harmonies

- Complementary: #5a4b81, #545b1a
- Split: #5a4b81, #6c510c, #336337
- Analogous: #5a4b81, #3e5487, #6e4470
- Triadic: #5a4b81, #7a4720, #006553
- Tetradic: #5a4b81, #7b4058, #545b1a, #006553
- Square: #5a4b81, #80413c, #545b1a, #00636d
- Monochromatic: #5a4b81, #1e0b3b, #3a2b5d, #7c6da6, #a091cd

## Questions about #5a4b81

### What color is #5a4b81?

#5a4b81 is soft dark violet. The closest named color is Gentian Violet. In RGB it is rgb(90, 75, 129), in HSL hsl(256.67, 26.47%, 40%) and in OKLCH oklch(45.222% 0.08749 295.475).

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

The complementary color of #5a4b81 is #545b1a. For a calmer combination use the analogous colors #3e5487 and #6e4470. The triadic partners are #7a4720 and #006553.

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

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

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

#5a4b81 is a cool color. In OKLCH its hue is 295 degrees, its lightness 45.2% and its chroma 0.087.
