# #5a3f74 color: Drifting Violet

#5a3f74 is rgb(90, 63, 116) in RGB and oklch(42.133% 0.0904 306.386) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a3f74 |
| RGB | rgb(90, 63, 116) |
| HSL | hsl(270.57, 29.61%, 35.1%) |
| HSB / HSV | hsv(270.57 45.69% 45.49%) |
| HWB | hwb(270.57 24.71% 54.51%) |
| CMYK | cmyk(22% 46% 0% 55%) |
| Lab | lab(31.57 20.67 -26.27) |
| LCH | lch(31.57 33.43 308.2) |
| OKLab | oklab(42.133% 0.05363 -0.07277) |
| OKLCH | oklch(42.133% 0.0904 306.386) |
| Display P3 | color(display-p3 0.337 0.25143 0.44217) |
| Rec. 2020 | color(rec2020 0.26909 0.19815 0.38594) |
| Adobe RGB | color(a98-rgb 0.32993 0.25542 0.44617) |
| ProPhoto RGB | color(prophoto-rgb 0.27056 0.20637 0.35968) |
| Linear sRGB | color(srgb-linear 0.10224 0.04971 0.17465) |
| XYZ D65 | color(xyz-d65 0.09146 0.0699 0.17391) |
| XYZ D50 | color(xyz-d50 0.08872 0.06897 0.13096) |
| SwiftUI | Color(red: 0.353, green: 0.247, blue: 0.455) |
| UIKit | UIColor(red: 0.353, green: 0.247, blue: 0.455, alpha: 1) |
| Flutter / Compose | Color(0xFF5A3F74) |
| Android XML | #5A3F74 |

## 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.76:1
- Contrast with black: 2.4:1

## Tints

#5a3f74, #695182, #78638f, #88759d, #9888ab, #a99bb8, #b9aec6, #cac2d4, #dcd6e3, #edeaf1

## Shades

#5a3f74, #4d3564, #412c54, #352345, #291b37, #1e1229, #130a1b, #09040f, #030105, #000001

## Tones

#5a3f74, #594170, #57436d, #564469, #554665, #544761, #52485d, #514a59, #504b55, #4f4c51

## Harmonies

- Complementary: #5a3f74, #415618
- Split: #5a3f74, #5c4d00, #155c38
- Analogous: #5a3f74, #41487e, #6c3960
- Triadic: #5a3f74, #6e4206, #005d55
- Tetradic: #5a3f74, #753645, #415618, #005d55
- Square: #5a3f74, #763928, #415618, #00596d
- Monochromatic: #5a3f74, #1c0130, #3a1f51, #7c6199, #a184bf

## Questions about #5a3f74

### What color is #5a3f74?

#5a3f74 is soft dark purple. The closest named color is Drifting Violet. In RGB it is rgb(90, 63, 116), in HSL hsl(270.57, 29.61%, 35.1%) and in OKLCH oklch(42.133% 0.0904 306.386).

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

The complementary color of #5a3f74 is #415618. For a calmer combination use the analogous colors #41487e and #6c3960. The triadic partners are #6e4206 and #005d55.

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

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

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

#5a3f74 is a neutral color. In OKLCH its hue is 306 degrees, its lightness 42.1% and its chroma 0.09.
