# #5b4170 color: Drifting Violet

#5b4170 is rgb(91, 65, 112) in RGB and oklch(42.407% 0.08147 308.719) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b4170 |
| RGB | rgb(91, 65, 112) |
| HSL | hsl(273.19, 26.55%, 34.71%) |
| HSB / HSV | hsv(273.19 41.96% 43.92%) |
| HWB | hwb(273.19 25.49% 56.08%) |
| CMYK | cmyk(19% 42% 0% 56%) |
| Lab | lab(32.03 19.06 -23.03) |
| LCH | lch(32.03 29.89 309.61) |
| OKLab | oklab(42.407% 0.05096 -0.06356) |
| OKLCH | oklch(42.407% 0.08147 308.719) |
| Display P3 | color(display-p3 0.34138 0.25906 0.42774) |
| Rec. 2020 | color(rec2020 0.2728 0.20519 0.37089) |
| Adobe RGB | color(a98-rgb 0.33435 0.26266 0.43156) |
| ProPhoto RGB | color(prophoto-rgb 0.27139 0.21149 0.34625) |
| Linear sRGB | color(srgb-linear 0.10462 0.05286 0.16203) |
| XYZ D65 | color(xyz-d65 0.09129 0.07175 0.16234) |
| XYZ D50 | color(xyz-d50 0.08916 0.07099 0.12229) |
| SwiftUI | Color(red: 0.357, green: 0.255, blue: 0.439) |
| UIKit | UIColor(red: 0.357, green: 0.255, blue: 0.439, alpha: 1) |
| Flutter / Compose | Color(0xFF5B4170) |
| Android XML | #5B4170 |

## Facts

- Closest name: Drifting Violet
- Hue family: Purple, soft dark purple
- Closest Tailwind class: mauve-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.62:1
- Contrast with black: 2.43:1

## Tints

#5b4170, #6a527e, #79648c, #89769a, #9989a8, #a99cb6, #baafc4, #cbc2d3, #dcd6e1, #edeaf0

## Shades

#5b4170, #4e3760, #412e51, #352543, #291c35, #1e1327, #130b1a, #09050e, #030104, #000001

## Tones

#5b4170, #5a436d, #584469, #574666, #564763, #55485f, #534a5c, #524b59, #514c55, #4f4d52

## Harmonies

- Complementary: #5b4170, #405723
- Split: #5b4170, #5a4e0d, #1d5b3d
- Analogous: #5b4170, #45497a, #6b3b5d
- Triadic: #5b4170, #6b4513, #005c57
- Tetradic: #5b4170, #733a45, #405723, #005c57
- Square: #5b4170, #733d2b, #405723, #00586c
- Monochromatic: #5b4170, #1d032d, #3b214e, #7e6394, #a286ba

## Questions about #5b4170

### What color is #5b4170?

#5b4170 is soft dark purple. The closest named color is Drifting Violet. In RGB it is rgb(91, 65, 112), in HSL hsl(273.19, 26.55%, 34.71%) and in OKLCH oklch(42.407% 0.08147 308.719).

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

The complementary color of #5b4170 is #405723. For a calmer combination use the analogous colors #45497a and #6b3b5d. The triadic partners are #6b4513 and #005c57.

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

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

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

#5b4170 is a neutral color. In OKLCH its hue is 309 degrees, its lightness 42.4% and its chroma 0.081.
