# #5a338a color: Purple Patch

#5a338a is rgb(90, 51, 138) in RGB and oklch(41.504% 0.13975 301.159) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a338a |
| RGB | rgb(90, 51, 138) |
| HSL | hsl(266.9, 46.03%, 37.06%) |
| HSB / HSV | hsv(266.9 63.04% 54.12%) |
| HWB | hwb(266.9 20% 45.88%) |
| CMYK | cmyk(35% 63% 0% 46%) |
| Lab | lab(29.88 32.09 -42.64) |
| LCH | lch(29.88 53.37 306.97) |
| OKLab | oklab(41.504% 0.07231 -0.11959) |
| OKLCH | oklch(41.504% 0.13975 301.159) |
| Display P3 | color(display-p3 0.33177 0.20722 0.52259) |
| Rec. 2020 | color(rec2020 0.26526 0.16009 0.47055) |
| Adobe RGB | color(a98-rgb 0.32167 0.21232 0.52759) |
| ProPhoto RGB | color(prophoto-rgb 0.27944 0.18104 0.43724) |
| Linear sRGB | color(srgb-linear 0.10224 0.0331 0.25415) |
| XYZ D65 | color(xyz-d65 0.09987 0.06376 0.2475) |
| XYZ D50 | color(xyz-d50 0.0937 0.06189 0.18613) |
| SwiftUI | Color(red: 0.353, green: 0.2, blue: 0.541) |
| UIKit | UIColor(red: 0.353, green: 0.2, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF5A338A) |
| Android XML | #5A338A |

## Facts

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

## Tints

#5a338a, #694896, #785ba2, #876fae, #9883ba, #a897c6, #b9abd2, #cac0dd, #dbd5e8, #edeaf4

## Shades

#5a338a, #4d2b77, #412365, #351c53, #291442, #1e0d32, #130722, #090314, #030107, #000001

## Tones

#5a338a, #583784, #573a7e, #553d78, #544072, #52426c, #514566, #4f475f, #4e4859, #4d4a52

## Harmonies

- Complementary: #5a338a, #425400
- Split: #5a338a, #614800, #005f1e
- Analogous: #5a338a, #324196, #74276e
- Triadic: #5a338a, #773800, #005c4f
- Tetradic: #5a338a, #831e47, #425400, #005c4f
- Square: #5a338a, #872113, #425400, #005868
- Monochromatic: #5a338a, #1b0039, #3a0c65, #7c56b0, #a07ad8

## Questions about #5a338a

### What color is #5a338a?

#5a338a is soft dark purple. The closest named color is Purple Patch. In RGB it is rgb(90, 51, 138), in HSL hsl(266.9, 46.03%, 37.06%) and in OKLCH oklch(41.504% 0.13975 301.159).

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

The complementary color of #5a338a is #425400. For a calmer combination use the analogous colors #324196 and #74276e. The triadic partners are #773800 and #005c4f.

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

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

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

#5a338a is a neutral color. In OKLCH its hue is 301 degrees, its lightness 41.5% and its chroma 0.14.
