# #512f66 color: Petunia

#512f66 is rgb(81, 47, 102) in RGB and oklch(37.305% 0.09782 311.048) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #512f66 |
| RGB | rgb(81, 47, 102) |
| HSL | hsl(277.09, 36.91%, 29.22%) |
| HSB / HSV | hsv(277.09 53.92% 40%) |
| HWB | hwb(277.09 18.43% 60%) |
| CMYK | cmyk(21% 54% 0% 60%) |
| Lab | lab(25.79 24.25 -26.53) |
| LCH | lch(25.79 35.94 312.43) |
| OKLab | oklab(37.305% 0.06424 -0.07377) |
| OKLCH | oklch(37.305% 0.09782 311.048) |
| Display P3 | color(display-p3 0.29895 0.19047 0.38775) |
| Rec. 2020 | color(rec2020 0.22586 0.13861 0.32859) |
| Adobe RGB | color(a98-rgb 0.29244 0.1981 0.39348) |
| ProPhoto RGB | color(prophoto-rgb 0.23114 0.15935 0.30753) |
| Linear sRGB | color(srgb-linear 0.08228 0.02843 0.13287) |
| XYZ D65 | color(xyz-d65 0.06808 0.04742 0.13127) |
| XYZ D50 | color(xyz-d50 0.06584 0.04674 0.09879) |
| SwiftUI | Color(red: 0.318, green: 0.184, blue: 0.4) |
| UIKit | UIColor(red: 0.318, green: 0.184, blue: 0.4, alpha: 1) |
| Flutter / Compose | Color(0xFF512F66) |
| Android XML | #512F66 |

## 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.78:1
- Contrast with black: 1.95:1

## Tints

#512f66, #614275, #715684, #826993, #937ea2, #a492b1, #b6a7c0, #c8bdd0, #dad2df, #ece8ef

## Shades

#512f66, #452758, #3a204a, #2f193c, #24122f, #1a0c23, #100617, #07030c, #020104, #000000

## Tones

#512f66, #4f3162, #4e335f, #4c355b, #4b3757, #493954, #473b50, #463c4c, #443e48, #423f44

## Harmonies

- Complementary: #512f66, #2d4a05
- Split: #512f66, #4c4100, #00502f
- Analogous: #512f66, #393872, #612850
- Triadic: #512f66, #603500, #004e4b
- Tetradic: #512f66, #6a2633, #2d4a05, #004e4b
- Square: #512f66, #6a2b11, #2d4a05, #004a62
- Monochromatic: #512f66, #130021, #310e44, #73508a, #9773af

## Questions about #512f66

### What color is #512f66?

#512f66 is soft dark purple. The closest named color is Petunia. In RGB it is rgb(81, 47, 102), in HSL hsl(277.09, 36.91%, 29.22%) and in OKLCH oklch(37.305% 0.09782 311.048).

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

The complementary color of #512f66 is #2d4a05. For a calmer combination use the analogous colors #393872 and #612850. The triadic partners are #603500 and #004e4b.

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

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

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

#512f66 is a neutral color. In OKLCH its hue is 311 degrees, its lightness 37.3% and its chroma 0.098.
