# #512c82 color: Regalia

#512c82 is rgb(81, 44, 130) in RGB and oklch(38.788% 0.13853 299.693) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #512c82 |
| RGB | rgb(81, 44, 130) |
| HSL | hsl(265.81, 49.43%, 34.12%) |
| HSB / HSV | hsv(265.81 66.15% 50.98%) |
| HWB | hwb(265.81 17.25% 49.02%) |
| CMYK | cmyk(38% 66% 0% 49%) |
| Lab | lab(26.7 31.72 -42.85) |
| LCH | lch(26.7 53.31 306.51) |
| OKLab | oklab(38.788% 0.06862 -0.12034) |
| OKLCH | oklch(38.788% 0.13853 299.693) |
| Display P3 | color(display-p3 0.29778 0.17953 0.49175) |
| Rec. 2020 | color(rec2020 0.23203 0.13224 0.43768) |
| Adobe RGB | color(a98-rgb 0.2906 0.1875 0.49719) |
| ProPhoto RGB | color(prophoto-rgb 0.2513 0.15867 0.40617) |
| Linear sRGB | color(srgb-linear 0.08228 0.02519 0.22323) |
| XYZ D65 | color(xyz-d65 0.08323 0.05162 0.21678) |
| XYZ D50 | color(xyz-d50 0.07752 0.0499 0.163) |
| SwiftUI | Color(red: 0.318, green: 0.173, blue: 0.51) |
| UIKit | UIColor(red: 0.318, green: 0.173, blue: 0.51, alpha: 1) |
| Flutter / Compose | Color(0xFF512C82) |
| Android XML | #512C82 |

## Facts

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

## Tints

#512c82, #60418f, #70569c, #806aa9, #917fb5, #a393c2, #b4a8ce, #c7bddb, #d9d3e7, #ece9f3

## Shades

#512c82, #452570, #3a1e5f, #2f174e, #24113e, #1a0a2f, #100520, #070212, #020106, #000001

## Tones

#512c82, #50307c, #4e3376, #4d3670, #4b396a, #4a3b64, #493e5e, #484058, #464151, #45434b

## Harmonies

- Complementary: #512c82, #3e4c00
- Split: #512c82, #594000, #005712
- Analogous: #512c82, #293a8d, #6a1f67
- Triadic: #512c82, #6e3100, #005346
- Tetradic: #512c82, #7a1542, #3e4c00, #005346
- Square: #512c82, #7e180f, #3e4c00, #00505e
- Monochromatic: #512c82, #13002e, #32035d, #724fa8, #9673cf

## Questions about #512c82

### What color is #512c82?

#512c82 is soft dark violet. The closest named color is Regalia. In RGB it is rgb(81, 44, 130), in HSL hsl(265.81, 49.43%, 34.12%) and in OKLCH oklch(38.788% 0.13853 299.693).

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

The complementary color of #512c82 is #3e4c00. For a calmer combination use the analogous colors #293a8d and #6a1f67. The triadic partners are #6e3100 and #005346.

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

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

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

#512c82 is a cool color. In OKLCH its hue is 300 degrees, its lightness 38.8% and its chroma 0.139.
