# #5a4271 color: Drifting Violet

#5a4271 is rgb(90, 66, 113) in RGB and oklch(42.545% 0.08058 306.768) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a4271 |
| RGB | rgb(90, 66, 113) |
| HSL | hsl(270.64, 26.26%, 35.1%) |
| HSB / HSV | hsv(270.64 41.59% 44.31%) |
| HWB | hwb(270.64 25.88% 55.69%) |
| CMYK | cmyk(20% 42% 0% 56%) |
| Lab | lab(32.22 18.29 -23.38) |
| LCH | lch(32.22 29.69 308.04) |
| OKLab | oklab(42.545% 0.04823 -0.06455) |
| OKLCH | oklch(42.545% 0.08058 306.768) |
| Display P3 | color(display-p3 0.33849 0.2626 0.43153) |
| Rec. 2020 | color(rec2020 0.27127 0.2084 0.3749) |
| Adobe RGB | color(a98-rgb 0.33225 0.26629 0.43533) |
| ProPhoto RGB | color(prophoto-rgb 0.27093 0.21392 0.34991) |
| Linear sRGB | color(srgb-linear 0.10224 0.05448 0.16513) |
| XYZ D65 | color(xyz-d65 0.09145 0.07262 0.16543) |
| XYZ D50 | color(xyz-d50 0.08919 0.07181 0.12463) |
| SwiftUI | Color(red: 0.353, green: 0.259, blue: 0.443) |
| UIKit | UIColor(red: 0.353, green: 0.259, blue: 0.443, alpha: 1) |
| Flutter / Compose | Color(0xFF5A4271) |
| Android XML | #5A4271 |

## 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.56:1
- Contrast with black: 2.45:1

## Tints

#5a4271, #69537f, #78658d, #88779a, #9889a8, #a99cb7, #b9afc5, #cac3d3, #dcd7e2, #edebf0

## Shades

#5a4271, #4d3861, #412f52, #352543, #291c35, #1e1427, #130b1a, #09050e, #030104, #000001

## Tones

#5a4271, #59446e, #58456a, #574667, #554864, #544960, #534a5d, #524b59, #514c56, #504d52

## Harmonies

- Complementary: #5a4271, #435622
- Split: #5a4271, #5b4e0e, #215c3c
- Analogous: #5a4271, #434a7a, #6a3c5f
- Triadic: #5a4271, #6c4516, #005c56
- Tetradic: #5a4271, #733a47, #435622, #005c56
- Square: #5a4271, #743d2e, #435622, #00596b
- Monochromatic: #5a4271, #1c042e, #3a224e, #7c6495, #a187bb

## Questions about #5a4271

### What color is #5a4271?

#5a4271 is soft dark purple. The closest named color is Drifting Violet. In RGB it is rgb(90, 66, 113), in HSL hsl(270.64, 26.26%, 35.1%) and in OKLCH oklch(42.545% 0.08058 306.768).

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

The complementary color of #5a4271 is #435622. For a calmer combination use the analogous colors #434a7a and #6a3c5f. The triadic partners are #6c4516 and #005c56.

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

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

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

#5a4271 is a neutral color. In OKLCH its hue is 307 degrees, its lightness 42.5% and its chroma 0.081.
