# #512f68 color: Petunia

#512f68 is rgb(81, 47, 104) in RGB and oklch(37.431% 0.10041 309.935) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/512f68

## Formats

| Format | Value |
| --- | --- |
| HEX | #512f68 |
| RGB | rgb(81, 47, 104) |
| HSL | hsl(275.79, 37.75%, 29.61%) |
| HSB / HSV | hsv(275.79 54.81% 40.78%) |
| HWB | hwb(275.79 18.43% 59.22%) |
| CMYK | cmyk(22% 55% 0% 59%) |
| Lab | lab(25.89 24.64 -27.66) |
| LCH | lch(25.89 37.04 311.69) |
| OKLab | oklab(37.431% 0.06445 -0.07699) |
| OKLCH | oklch(37.431% 0.10041 309.935) |
| Display P3 | color(display-p3 0.29895 0.19047 0.39517) |
| Rec. 2020 | color(rec2020 0.22638 0.13882 0.33631) |
| Adobe RGB | color(a98-rgb 0.29244 0.1981 0.40082) |
| ProPhoto RGB | color(prophoto-rgb 0.23254 0.15973 0.31434) |
| Linear sRGB | color(srgb-linear 0.08228 0.02843 0.13843) |
| XYZ D65 | color(xyz-d65 0.06908 0.04782 0.13656) |
| XYZ D50 | color(xyz-d50 0.06664 0.04708 0.10276) |
| SwiftUI | Color(red: 0.318, green: 0.184, blue: 0.408) |
| UIKit | UIColor(red: 0.318, green: 0.184, blue: 0.408, alpha: 1) |
| Flutter / Compose | Color(0xFF512F68) |
| Android XML | #512F68 |

## Facts

- Closest name: Petunia
- Hue family: Purple, soft dark purple
- Closest Tailwind class: mauve-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 10.73:1
- Contrast with black: 1.96:1

## Tints

#512f68, #614277, #715685, #826a94, #937ea3, #a492b2, #b6a7c1, #c8bdd1, #dad2e0, #ece9ef

## Shades

#512f68, #452759, #3a204b, #2f193e, #241230, #1a0c24, #100618, #07030c, #020104, #000000

## Tones

#512f68, #4f3164, #4e3460, #4c365d, #4b3859, #493955, #473b51, #463d4d, #443e49, #423f45

## Harmonies

- Complementary: #512f68, #2e4b00
- Split: #512f68, #4d4100, #00502d
- Analogous: #512f68, #383874, #622851
- Triadic: #512f68, #613400, #004e4b
- Tetradic: #512f68, #6b2535, #2e4b00, #004e4b
- Square: #512f68, #6b2a11, #2e4b00, #004b61
- Monochromatic: #512f68, #130022, #310e46, #73508c, #9773b2

## Questions about #512f68

### What color is #512f68?

#512f68 is soft dark purple. The closest named color is Petunia. In RGB it is rgb(81, 47, 104), in HSL hsl(275.79, 37.75%, 29.61%) and in OKLCH oklch(37.431% 0.10041 309.935).

### What colors go well with #512f68?

The complementary color of #512f68 is #2e4b00. For a calmer combination use the analogous colors #383874 and #622851. The triadic partners are #613400 and #004e4b.

### Is white or black text more readable on #512f68?

White text reads better on #512f68: white gives a contrast ratio of 10.73:1 and black gives 1.96:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #512f68 a warm or cool color?

#512f68 is a neutral color. In OKLCH its hue is 310 degrees, its lightness 37.4% and its chroma 0.1.
