# #512255 color: Wonka Purple

#512255 is rgb(81, 34, 85) in RGB and oklch(34.137% 0.10136 324.423) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #512255 |
| RGB | rgb(81, 34, 85) |
| HSL | hsl(295.29, 42.86%, 23.33%) |
| HSB / HSV | hsv(295.29 60% 33.33%) |
| HWB | hwb(295.29 13.33% 66.67%) |
| CMYK | cmyk(5% 60% 0% 67%) |
| Lab | lab(22.05 28.52 -21.25) |
| LCH | lch(22.05 35.57 323.31) |
| OKLab | oklab(34.137% 0.08244 -0.05897) |
| OKLCH | oklch(34.137% 0.10136 324.423) |
| Display P3 | color(display-p3 0.29444 0.14372 0.32324) |
| Rec. 2020 | color(rec2020 0.21256 0.09571 0.26154) |
| Adobe RGB | color(a98-rgb 0.2853 0.15253 0.33076) |
| ProPhoto RGB | color(prophoto-rgb 0.21259 0.12774 0.24902) |
| Linear sRGB | color(srgb-linear 0.08228 0.016 0.09084) |
| XYZ D65 | color(xyz-d65 0.05605 0.03549 0.08985) |
| XYZ D50 | color(xyz-d50 0.05504 0.03528 0.06757) |
| SwiftUI | Color(red: 0.318, green: 0.133, blue: 0.333) |
| UIKit | UIColor(red: 0.318, green: 0.133, blue: 0.333, alpha: 1) |
| Flutter / Compose | Color(0xFF512255) |
| Android XML | #512255 |

## 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.28:1
- Contrast with black: 1.71:1

## Tints

#512255, #623765, #724b75, #836086, #947596, #a68ba7, #b7a1b8, #c9b8ca, #dbcfdb, #ede7ed

## Shades

#512255, #451c49, #3a163d, #2f1131, #240b26, #1a071c, #100311, #070108, #020002, #000000

## Tones

#512255, #4f2552, #4d284f, #4a2a4d, #482d4a, #452f47, #433144, #403341, #3e353e, #3b373b

## Harmonies

- Complementary: #512255, #094510
- Split: #512255, #383d00, #004635
- Analogous: #512255, #3d2a67, #5e1c3b
- Triadic: #512255, #4d3300, #00434b
- Tetradic: #512255, #631d1c, #094510, #00434b
- Square: #512255, #5e2500, #094510, #003e62
- Monochromatic: #512255, #120016, #300134, #744378, #99659c

## Questions about #512255

### What color is #512255?

#512255 is soft dark purple. The closest named color is Wonka Purple. In RGB it is rgb(81, 34, 85), in HSL hsl(295.29, 42.86%, 23.33%) and in OKLCH oklch(34.137% 0.10136 324.423).

### What colors go well with #512255?

The complementary color of #512255 is #094510. For a calmer combination use the analogous colors #3d2a67 and #5e1c3b. The triadic partners are #4d3300 and #00434b.

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

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

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

#512255 is a neutral color. In OKLCH its hue is 324 degrees, its lightness 34.1% and its chroma 0.101.
