# #5f4786 color: Violet Majesty

#5f4786 is rgb(95, 71, 134) in RGB and oklch(45.237% 0.10251 299.898) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f4786 |
| RGB | rgb(95, 71, 134) |
| HSL | hsl(262.86, 30.73%, 40.2%) |
| HSB / HSV | hsv(262.86 47.01% 52.55%) |
| HWB | hwb(262.86 27.84% 47.45%) |
| CMYK | cmyk(29% 47% 0% 47%) |
| Lab | lab(35.02 21.31 -31.97) |
| LCH | lch(35.02 38.42 303.68) |
| OKLab | oklab(45.237% 0.0511 -0.08887) |
| OKLCH | oklch(45.237% 0.10251 299.898) |
| Display P3 | color(display-p3 0.35799 0.28217 0.51018) |
| Rec. 2020 | color(rec2020 0.29575 0.22981 0.45793) |
| Adobe RGB | color(a98-rgb 0.35065 0.2845 0.51379) |
| ProPhoto RGB | color(prophoto-rgb 0.30055 0.23364 0.42646) |
| Linear sRGB | color(srgb-linear 0.11444 0.06301 0.2384) |
| XYZ D65 | color(xyz-d65 0.11275 0.08661 0.23633) |
| XYZ D50 | color(xyz-d50 0.10828 0.08508 0.17795) |
| SwiftUI | Color(red: 0.373, green: 0.278, blue: 0.525) |
| UIKit | UIColor(red: 0.373, green: 0.278, blue: 0.525, alpha: 1) |
| Flutter / Compose | Color(0xFF5F4786) |
| Android XML | #5F4786 |

## 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.69:1
- Contrast with black: 2.73:1

## Tints

#5f4786, #6d5892, #7c6a9e, #8c7caa, #9b8eb7, #aba0c3, #bbb2cf, #ccc5db, #ddd8e7, #eeebf3

## Shades

#5f4786, #523d74, #443262, #382851, #2c1f40, #201630, #150d21, #0a0613, #030206, #000001

## Tones

#5f4786, #5e4981, #5d4b7d, #5c4c78, #5b4e73, #5a506f, #59516a, #585265, #575460, #57555b

## Harmonies

- Complementary: #5f4786, #4f5e0a
- Split: #5f4786, #6c5200, #226536
- Analogous: #5f4786, #40518f, #753f71
- Triadic: #5f4786, #7e4607, #006858
- Tetradic: #5f4786, #823a54, #4f5e0a, #006858
- Square: #5f4786, #863d32, #4f5e0a, #006474
- Monochromatic: #5f4786, #210440, #3f2662, #8169ac, #a68dd2

## Questions about #5f4786

### What color is #5f4786?

#5f4786 is soft dark violet. The closest named color is Violet Majesty. In RGB it is rgb(95, 71, 134), in HSL hsl(262.86, 30.73%, 40.2%) and in OKLCH oklch(45.237% 0.10251 299.898).

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

The complementary color of #5f4786 is #4f5e0a. For a calmer combination use the analogous colors #40518f and #753f71. The triadic partners are #7e4607 and #006858.

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

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

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

#5f4786 is a cool color. In OKLCH its hue is 300 degrees, its lightness 45.2% and its chroma 0.103.
