# #5f4888 color: Violet Majesty

#5f4888 is rgb(95, 72, 136) in RGB and oklch(45.545% 0.1036 298.807) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f4888 |
| RGB | rgb(95, 72, 136) |
| HSL | hsl(261.56, 30.77%, 40.78%) |
| HSB / HSV | hsv(261.56 47.06% 53.33%) |
| HWB | hwb(261.56 28.24% 46.67%) |
| CMYK | cmyk(30% 47% 0% 47%) |
| Lab | lab(35.37 21.14 -32.65) |
| LCH | lch(35.37 38.89 302.92) |
| OKLab | oklab(45.545% 0.04992 -0.09078) |
| OKLCH | oklch(45.545% 0.1036 298.807) |
| Display P3 | color(display-p3 0.35851 0.2859 0.51773) |
| Rec. 2020 | color(rec2020 0.29735 0.23354 0.46597) |
| Adobe RGB | color(a98-rgb 0.35146 0.28815 0.52136) |
| ProPhoto RGB | color(prophoto-rgb 0.303 0.23679 0.43406) |
| Linear sRGB | color(srgb-linear 0.11444 0.0648 0.2462) |
| XYZ D65 | color(xyz-d65 0.1148 0.08845 0.24396) |
| XYZ D50 | color(xyz-d50 0.11009 0.08684 0.1837) |
| SwiftUI | Color(red: 0.373, green: 0.282, blue: 0.533) |
| UIKit | UIColor(red: 0.373, green: 0.282, blue: 0.533, alpha: 1) |
| Flutter / Compose | Color(0xFF5F4888) |
| Android XML | #5F4888 |

## Facts

- Closest name: Violet Majesty
- 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

#5f4888, #6d5994, #7c6ba0, #8b7cac, #9b8eb8, #aba0c4, #bbb3d0, #ccc5db, #ddd8e7, #eeecf3

## Shades

#5f4888, #523d75, #443363, #382952, #2c1f41, #201631, #150d22, #0a0613, #030206, #000001

## Tones

#5f4888, #5e4a83, #5d4c7e, #5c4d7a, #5b4f75, #5a5170, #5a526b, #595366, #585461, #57565c

## Harmonies

- Complementary: #5f4888, #515e07
- Split: #5f4888, #6e5200, #246635
- Analogous: #5f4888, #3f5390, #754073
- Triadic: #5f4888, #804609, #006958
- Tetradic: #5f4888, #833b56, #515e07, #006958
- Square: #5f4888, #873d34, #515e07, #006574
- Monochromatic: #5f4888, #220541, #3f2764, #816aae, #a68fd5

## Questions about #5f4888

### What color is #5f4888?

#5f4888 is soft dark violet. The closest named color is Violet Majesty. In RGB it is rgb(95, 72, 136), in HSL hsl(261.56, 30.77%, 40.78%) and in OKLCH oklch(45.545% 0.1036 298.807).

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

The complementary color of #5f4888 is #515e07. For a calmer combination use the analogous colors #3f5390 and #754073. The triadic partners are #804609 and #006958.

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

White text reads better on #5f4888: 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 #5f4888 a warm or cool color?

#5f4888 is a cool color. In OKLCH its hue is 299 degrees, its lightness 45.5% and its chroma 0.104.
