# #512a81 color: Regalia

#512a81 is rgb(81, 42, 129) in RGB and oklch(38.414% 0.14019 300.496) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #512a81 |
| RGB | rgb(81, 42, 129) |
| HSL | hsl(266.9, 50.88%, 33.53%) |
| HSB / HSV | hsv(266.9 67.44% 50.59%) |
| HWB | hwb(266.9 16.47% 49.41%) |
| CMYK | cmyk(37% 67% 0% 49%) |
| Lab | lab(26.22 32.59 -43.01) |
| LCH | lch(26.22 53.96 307.15) |
| OKLab | oklab(38.414% 0.07115 -0.1208) |
| OKLCH | oklch(38.414% 0.14019 300.496) |
| Display P3 | color(display-p3 0.29705 0.17228 0.48785) |
| Rec. 2020 | color(rec2020 0.23024 0.12578 0.43351) |
| Adobe RGB | color(a98-rgb 0.28943 0.18046 0.49336) |
| ProPhoto RGB | color(prophoto-rgb 0.2493 0.15406 0.40222) |
| Linear sRGB | color(srgb-linear 0.08228 0.02315 0.21953) |
| XYZ D65 | color(xyz-d65 0.08183 0.0499 0.21302) |
| XYZ D50 | color(xyz-d50 0.07621 0.04821 0.16016) |
| SwiftUI | Color(red: 0.318, green: 0.165, blue: 0.506) |
| UIKit | UIColor(red: 0.318, green: 0.165, blue: 0.506, alpha: 1) |
| Flutter / Compose | Color(0xFF512A81) |
| Android XML | #512A81 |

## Facts

- Closest name: Regalia
- Hue family: Purple, soft dark purple
- Closest Tailwind class: purple-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 10.51:1
- Contrast with black: 2:1

## Tints

#512a81, #60408e, #70549b, #8069a8, #917eb5, #a392c1, #b4a7ce, #c7bdda, #d9d3e7, #ece9f3

## Shades

#512a81, #45236f, #3a1c5e, #2f164e, #24103e, #1a0a2e, #10051f, #070212, #020106, #000001

## Tones

#512a81, #4f2e7b, #4e3275, #4c356f, #4b3869, #4a3a63, #483c5d, #473e57, #464050, #44424a

## Harmonies

- Complementary: #512a81, #3c4b00
- Split: #512a81, #574000, #005615
- Analogous: #512a81, #29398d, #6a1d65
- Triadic: #512a81, #6c3100, #005246
- Tetradic: #512a81, #791240, #3c4b00, #005246
- Square: #512a81, #7e150a, #3c4b00, #004f5d
- Monochromatic: #512a81, #12002b, #32005c, #724da7, #9671ce

## Questions about #512a81

### What color is #512a81?

#512a81 is soft dark purple. The closest named color is Regalia. In RGB it is rgb(81, 42, 129), in HSL hsl(266.9, 50.88%, 33.53%) and in OKLCH oklch(38.414% 0.14019 300.496).

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

The complementary color of #512a81 is #3c4b00. For a calmer combination use the analogous colors #29398d and #6a1d65. The triadic partners are #6c3100 and #005246.

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

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

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

#512a81 is a neutral color. In OKLCH its hue is 300 degrees, its lightness 38.4% and its chroma 0.14.
