# #512f96 color: Blue Magenta Violet

#512f96 is rgb(81, 47, 150) in RGB and oklch(40.85% 0.15926 293.198) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #512f96 |
| RGB | rgb(81, 47, 150) |
| HSL | hsl(259.81, 52.28%, 38.63%) |
| HSB / HSV | hsv(259.81 68.67% 58.82%) |
| HWB | hwb(259.81 18.43% 41.18%) |
| CMYK | cmyk(46% 69% 0% 41%) |
| Lab | lab(28.69 34.57 -52.01) |
| LCH | lch(28.69 62.45 303.61) |
| OKLab | oklab(40.85% 0.06273 -0.14638) |
| OKLCH | oklch(40.85% 0.15926 293.198) |
| Display P3 | color(display-p3 0.29895 0.19047 0.5668) |
| Rec. 2020 | color(rec2020 0.24173 0.1448 0.51762) |
| Adobe RGB | color(a98-rgb 0.29244 0.1981 0.57278) |
| ProPhoto RGB | color(prophoto-rgb 0.27171 0.17073 0.48186) |
| Linear sRGB | color(srgb-linear 0.08228 0.02843 0.30499) |
| XYZ D65 | color(xyz-d65 0.09914 0.05984 0.29488) |
| XYZ D50 | color(xyz-d50 0.09047 0.05717 0.2217) |
| SwiftUI | Color(red: 0.318, green: 0.184, blue: 0.588) |
| UIKit | UIColor(red: 0.318, green: 0.184, blue: 0.588, alpha: 1) |
| Flutter / Compose | Color(0xFF512F96) |
| Android XML | #512F96 |

## Facts

- Closest name: Blue Magenta Violet
- Hue family: Violet, deep dark violet
- Closest Tailwind class: violet-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 9.56:1
- Contrast with black: 2.2:1

## Tints

#512f96, #6045a2, #6f5aad, #7f6eb8, #9082c3, #a197cd, #b3abd8, #c6c0e2, #d8d5ec, #ebeaf5

## Shades

#512f96, #452782, #3a206e, #2f195b, #241249, #1a0c37, #100626, #070316, #020108, #000001

## Tones

#512f96, #50348f, #4f3887, #4e3b80, #4d3e78, #4c4171, #4b4369, #4b4562, #4a475a, #4a4852

## Harmonies

- Complementary: #512f96, #4b4f00
- Split: #512f96, #644300, #005d00
- Analogous: #512f96, #17419e, #701f7a
- Triadic: #512f96, #7c3000, #005b45
- Tetradic: #512f96, #840d51, #4b4f00, #005b45
- Square: #512f96, #8c091b, #4b4f00, #00575f
- Monochromatic: #512f96, #16003b, #340170, #7154bd, #9478e6

## Questions about #512f96

### What color is #512f96?

#512f96 is deep dark violet. The closest named color is Blue Magenta Violet. In RGB it is rgb(81, 47, 150), in HSL hsl(259.81, 52.28%, 38.63%) and in OKLCH oklch(40.85% 0.15926 293.198).

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

The complementary color of #512f96 is #4b4f00. For a calmer combination use the analogous colors #17419e and #701f7a. The triadic partners are #7c3000 and #005b45.

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

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

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

#512f96 is a cool color. In OKLCH its hue is 293 degrees, its lightness 40.8% and its chroma 0.159.
