# #5a3178 color: Foggy Amethyst

#5a3178 is rgb(90, 49, 120) in RGB and oklch(39.928% 0.12053 308.571) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a3178 |
| RGB | rgb(90, 49, 120) |
| HSL | hsl(274.65, 42.01%, 33.14%) |
| HSB / HSV | hsv(274.65 59.17% 47.06%) |
| HWB | hwb(274.65 19.22% 52.94%) |
| CMYK | cmyk(25% 59% 0% 53%) |
| Lab | lab(28.42 29.55 -33.75) |
| LCH | lch(28.42 44.86 311.21) |
| OKLab | oklab(39.928% 0.07515 -0.09424) |
| OKLCH | oklch(39.928% 0.12053 308.571) |
| Display P3 | color(display-p3 0.33101 0.19995 0.45531) |
| Rec. 2020 | color(rec2020 0.2582 0.15138 0.39933) |
| Adobe RGB | color(a98-rgb 0.32046 0.2052 0.46009) |
| ProPhoto RGB | color(prophoto-rgb 0.2635 0.17224 0.37107) |
| Linear sRGB | color(srgb-linear 0.10224 0.03071 0.18782) |
| XYZ D65 | color(xyz-d65 0.08704 0.05727 0.18417) |
| XYZ D50 | color(xyz-d50 0.08329 0.05615 0.13853) |
| SwiftUI | Color(red: 0.353, green: 0.192, blue: 0.471) |
| UIKit | UIColor(red: 0.353, green: 0.192, blue: 0.471, alpha: 1) |
| Flutter / Compose | Color(0xFF5A3178) |
| Android XML | #5A3178 |

## Facts

- Closest name: Foggy Amethyst
- Hue family: Purple, soft dark purple
- Closest Tailwind class: purple-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 9.79:1
- Contrast with black: 2.15:1

## Tints

#5a3178, #694586, #795993, #886ca1, #9980ae, #a995bb, #baa9c9, #cbbed6, #dcd3e4, #ede9f1

## Shades

#5a3178, #4d2967, #412257, #351a48, #291339, #1e0c2a, #13061d, #090310, #030105, #000001

## Tones

#5a3178, #583473, #56376f, #543a6a, #533c65, #513e60, #4f405c, #4d4257, #4b4452, #49464d

## Harmonies

- Complementary: #5a3178, #335300
- Split: #5a3178, #564700, #00592e
- Analogous: #5a3178, #3b3d86, #6f285d
- Triadic: #5a3178, #6c3900, #005651
- Tetradic: #5a3178, #7a233a, #335300, #005651
- Square: #5a3178, #7b290a, #335300, #005269
- Monochromatic: #5a3178, #1a002d, #3a0e54, #7d539d, #a177c4

## Questions about #5a3178

### What color is #5a3178?

#5a3178 is soft dark purple. The closest named color is Foggy Amethyst. In RGB it is rgb(90, 49, 120), in HSL hsl(274.65, 42.01%, 33.14%) and in OKLCH oklch(39.928% 0.12053 308.571).

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

The complementary color of #5a3178 is #335300. For a calmer combination use the analogous colors #3b3d86 and #6f285d. The triadic partners are #6c3900 and #005651.

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

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

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

#5a3178 is a neutral color. In OKLCH its hue is 309 degrees, its lightness 39.9% and its chroma 0.121.
