# #512e79 color: Regalia

#512e79 is rgb(81, 46, 121) in RGB and oklch(38.421% 0.1241 302.438) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #512e79 |
| RGB | rgb(81, 46, 121) |
| HSL | hsl(268, 44.91%, 32.75%) |
| HSB / HSV | hsv(268 61.98% 47.45%) |
| HWB | hwb(268 18.04% 52.55%) |
| CMYK | cmyk(33% 62% 0% 53%) |
| Lab | lab(26.59 28.68 -37.38) |
| LCH | lch(26.59 47.12 307.49) |
| OKLab | oklab(38.421% 0.06656 -0.10473) |
| OKLCH | oklch(38.421% 0.1241 302.438) |
| Display P3 | color(display-p3 0.29855 0.18682 0.45833) |
| Rec. 2020 | color(rec2020 0.23056 0.13748 0.40244) |
| Adobe RGB | color(a98-rgb 0.29181 0.19456 0.46366) |
| ProPhoto RGB | color(prophoto-rgb 0.24487 0.16098 0.37376) |
| Linear sRGB | color(srgb-linear 0.08228 0.02732 0.1912) |
| XYZ D65 | color(xyz-d65 0.07821 0.05084 0.18659) |
| XYZ D50 | color(xyz-d50 0.07376 0.04948 0.14034) |
| SwiftUI | Color(red: 0.318, green: 0.18, blue: 0.475) |
| UIKit | UIColor(red: 0.318, green: 0.18, blue: 0.475, alpha: 1) |
| Flutter / Compose | Color(0xFF512E79) |
| Android XML | #512E79 |

## 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.41:1
- Contrast with black: 2.02:1

## Tints

#512e79, #604287, #705694, #816aa2, #927faf, #a393bc, #b5a8ca, #c7bdd7, #d9d3e4, #ece9f2

## Shades

#512e79, #452768, #3a1f58, #2f1848, #241239, #1a0b2b, #10061d, #070210, #020105, #000001

## Tones

#512e79, #503174, #4e346f, #4d3769, #4b3964, #4a3b5f, #483d5a, #473f54, #46404f, #454249

## Harmonies

- Complementary: #512e79, #394c00
- Split: #512e79, #564100, #00551e
- Analogous: #512e79, #2f3a84, #672460
- Triadic: #512e79, #6b3200, #005247
- Tetradic: #512e79, #751d3e, #394c00, #005247
- Square: #512e79, #782011, #394c00, #004f5e
- Monochromatic: #512e79, #13002a, #320955, #73509e, #9674c5

## Questions about #512e79

### What color is #512e79?

#512e79 is soft dark purple. The closest named color is Regalia. In RGB it is rgb(81, 46, 121), in HSL hsl(268, 44.91%, 32.75%) and in OKLCH oklch(38.421% 0.1241 302.438).

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

The complementary color of #512e79 is #394c00. For a calmer combination use the analogous colors #2f3a84 and #672460. The triadic partners are #6b3200 and #005247.

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

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

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

#512e79 is a neutral color. In OKLCH its hue is 302 degrees, its lightness 38.4% and its chroma 0.124.
