# #5a4071 color: Drifting Violet

#5a4071 is rgb(90, 64, 113) in RGB and oklch(42.156% 0.08437 307.574) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a4071 |
| RGB | rgb(90, 64, 113) |
| HSL | hsl(271.84, 27.68%, 34.71%) |
| HSB / HSV | hsv(271.84 43.36% 44.31%) |
| HWB | hwb(271.84 25.1% 55.69%) |
| CMYK | cmyk(20% 43% 0% 56%) |
| Lab | lab(31.7 19.49 -24.19) |
| LCH | lch(31.7 31.06 308.86) |
| OKLab | oklab(42.156% 0.05145 -0.06687) |
| OKLCH | oklch(42.156% 0.08437 307.574) |
| Display P3 | color(display-p3 0.33749 0.25515 0.43123) |
| Rec. 2020 | color(rec2020 0.26929 0.20138 0.37451) |
| Adobe RGB | color(a98-rgb 0.33069 0.25904 0.43517) |
| ProPhoto RGB | color(prophoto-rgb 0.26926 0.20851 0.34943) |
| Linear sRGB | color(srgb-linear 0.10224 0.05127 0.16513) |
| XYZ D65 | color(xyz-d65 0.0903 0.07033 0.16505) |
| XYZ D50 | color(xyz-d50 0.08796 0.06951 0.12432) |
| SwiftUI | Color(red: 0.353, green: 0.251, blue: 0.443) |
| UIKit | UIColor(red: 0.353, green: 0.251, blue: 0.443, alpha: 1) |
| Flutter / Compose | Color(0xFF5A4071) |
| Android XML | #5A4071 |

## 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.73:1
- Contrast with black: 2.41:1

## Tints

#5a4071, #69527f, #78638d, #88769a, #9888a9, #a99bb7, #b9aec5, #cac2d3, #dcd6e2, #edeaf0

## Shades

#5a4071, #4d3661, #412d52, #352443, #291b35, #1e1327, #130b1a, #09050e, #030104, #000001

## Tones

#5a4071, #59426e, #57436a, #564567, #554663, #544760, #52495c, #514a58, #504b55, #4f4c51

## Harmonies

- Complementary: #5a4071, #40561f
- Split: #5a4071, #5a4d05, #1b5b3b
- Analogous: #5a4071, #43487b, #6a3a5e
- Triadic: #5a4071, #6b430f, #005c56
- Tetradic: #5a4071, #733845, #40561f, #005c56
- Square: #5a4071, #743b2a, #40561f, #00586c
- Monochromatic: #5a4071, #1c022e, #3a204e, #7c6295, #a185bb

## Questions about #5a4071

### What color is #5a4071?

#5a4071 is soft dark purple. The closest named color is Drifting Violet. In RGB it is rgb(90, 64, 113), in HSL hsl(271.84, 27.68%, 34.71%) and in OKLCH oklch(42.156% 0.08437 307.574).

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

The complementary color of #5a4071 is #40561f. For a calmer combination use the analogous colors #43487b and #6a3a5e. The triadic partners are #6b430f and #005c56.

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

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

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

#5a4071 is a neutral color. In OKLCH its hue is 308 degrees, its lightness 42.2% and its chroma 0.084.
