# #502158 color: Wonka Purple

#502158 is rgb(80, 33, 88) in RGB and oklch(34.026% 0.10575 321.616) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/502158

## Formats

| Format | Value |
| --- | --- |
| HEX | #502158 |
| RGB | rgb(80, 33, 88) |
| HSL | hsl(291.27, 45.45%, 23.73%) |
| HSB / HSV | hsv(291.27 62.5% 34.51%) |
| HWB | hwb(291.27 12.94% 65.49%) |
| CMYK | cmyk(9% 63% 0% 65%) |
| Lab | lab(21.82 29.2 -23.61) |
| LCH | lch(21.82 37.55 321.04) |
| OKLab | oklab(34.026% 0.08289 -0.06566) |
| OKLCH | oklch(34.026% 0.10575 321.616) |
| Display P3 | color(display-p3 0.29062 0.13989 0.3342) |
| Rec. 2020 | color(rec2020 0.20963 0.09244 0.27278) |
| Adobe RGB | color(a98-rgb 0.2818 0.14907 0.34158) |
| ProPhoto RGB | color(prophoto-rgb 0.21182 0.1257 0.25853) |
| Linear sRGB | color(srgb-linear 0.08022 0.01521 0.09759) |
| XYZ D65 | color(xyz-d65 0.05613 0.03498 0.09612) |
| XYZ D50 | color(xyz-d50 0.0548 0.03467 0.07228) |
| SwiftUI | Color(red: 0.314, green: 0.129, blue: 0.345) |
| UIKit | UIColor(red: 0.314, green: 0.129, blue: 0.345, alpha: 1) |
| Flutter / Compose | Color(0xFF502158) |
| Android XML | #502158 |

## Facts

- Closest name: Wonka Purple
- Hue family: Purple, soft dark purple
- Closest Tailwind class: fuchsia-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 12.36:1
- Contrast with black: 1.7:1

## Tints

#502158, #613668, #714b78, #826088, #947598, #a58ba9, #b7a1ba, #c8b8cb, #dacfdc, #ede7ed

## Shades

#502158, #441b4b, #39163f, #2e1033, #240b28, #1a061d, #100312, #070109, #020003, #000000

## Tones

#502158, #4e2455, #4c2752, #492a4f, #472c4c, #452f48, #423145, #403342, #3d353f, #3b363b

## Harmonies

- Complementary: #502158, #0d4407
- Split: #502158, #3a3c00, #004632
- Analogous: #502158, #3a2a69, #5e1a3e
- Triadic: #502158, #4f3200, #004349
- Tetradic: #502158, #641a1e, #0d4407, #004349
- Square: #502158, #602200, #0d4407, #003f5f
- Monochromatic: #502158, #120017, #2f0037, #73427b, #9764a0

## Questions about #502158

### What color is #502158?

#502158 is soft dark purple. The closest named color is Wonka Purple. In RGB it is rgb(80, 33, 88), in HSL hsl(291.27, 45.45%, 23.73%) and in OKLCH oklch(34.026% 0.10575 321.616).

### What colors go well with #502158?

The complementary color of #502158 is #0d4407. For a calmer combination use the analogous colors #3a2a69 and #5e1a3e. The triadic partners are #4f3200 and #004349.

### Is white or black text more readable on #502158?

White text reads better on #502158: white gives a contrast ratio of 12.36:1 and black gives 1.7:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #502158 a warm or cool color?

#502158 is a neutral color. In OKLCH its hue is 322 degrees, its lightness 34% and its chroma 0.106.
