# #5f517a color: Imperial Palace

#5f517a is rgb(95, 81, 122) in RGB and oklch(46.57% 0.06711 299.481) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f517a |
| RGB | rgb(95, 81, 122) |
| HSL | hsl(260.49, 20.2%, 39.8%) |
| HSB / HSV | hsv(260.49 33.61% 47.84%) |
| HWB | hwb(260.49 31.76% 52.16%) |
| CMYK | cmyk(22% 34% 0% 52%) |
| Lab | lab(37.16 12.94 -21.28) |
| LCH | lch(37.16 24.9 301.3) |
| OKLab | oklab(46.57% 0.03303 -0.05842) |
| OKLCH | oklch(46.57% 0.06711 299.481) |
| Display P3 | color(display-p3 0.36353 0.31965 0.46742) |
| Rec. 2020 | color(rec2020 0.30335 0.26474 0.41317) |
| Adobe RGB | color(a98-rgb 0.35929 0.32121 0.46994) |
| ProPhoto RGB | color(prophoto-rgb 0.30085 0.26018 0.38577) |
| Linear sRGB | color(srgb-linear 0.11444 0.08228 0.19462) |
| XYZ D65 | color(xyz-d65 0.11174 0.09723 0.19701) |
| XYZ D50 | color(xyz-d50 0.10944 0.09625 0.14856) |
| SwiftUI | Color(red: 0.373, green: 0.318, blue: 0.478) |
| UIKit | UIColor(red: 0.373, green: 0.318, blue: 0.478, alpha: 1) |
| Flutter / Compose | Color(0xFF5F517A) |
| Android XML | #5F517A |

## Facts

- Closest name: Imperial Palace
- Hue family: Violet, dusty dark violet
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.13:1
- Contrast with black: 2.94:1

## Tints

#5f517a, #6e6187, #7c7194, #8c82a1, #9b93ae, #aba4bb, #bbb6c9, #ccc8d6, #dddae4, #eeecf1

## Shades

#5f517a, #524569, #443a59, #382f49, #2c243a, #201a2b, #15101d, #0a0710, #030205, #000001

## Tones

#5f517a, #5e5277, #5e5374, #5d5471, #5d556d, #5c566a, #5c5667, #5b5764, #5a5860, #5a595d

## Harmonies

- Complementary: #5f517a, #555f32
- Split: #5f517a, #68582a, #3d6445
- Analogous: #5f517a, #4a5880, #6f4c6c
- Triadic: #5f517a, #755032, #27665b
- Tetradic: #5f517a, #784958, #555f32, #27665b
- Square: #5f517a, #7b4b43, #555f32, #22646e
- Monochromatic: #5f517a, #211336, #3f3157, #82739f, #a697c5

## Questions about #5f517a

### What color is #5f517a?

#5f517a is dusty dark violet. The closest named color is Imperial Palace. In RGB it is rgb(95, 81, 122), in HSL hsl(260.49, 20.2%, 39.8%) and in OKLCH oklch(46.57% 0.06711 299.481).

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

The complementary color of #5f517a is #555f32. For a calmer combination use the analogous colors #4a5880 and #6f4c6c. The triadic partners are #755032 and #27665b.

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

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

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

#5f517a is a cool color. In OKLCH its hue is 299 degrees, its lightness 46.6% and its chroma 0.067.
