# #542a78 color: Regalia

#542a78 is rgb(84, 42, 120) in RGB and oklch(38.097% 0.12992 305.921) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/542a78

## Formats

| Format | Value |
| --- | --- |
| HEX | #542a78 |
| RGB | rgb(84, 42, 120) |
| HSL | hsl(272.31, 48.15%, 31.76%) |
| HSB / HSV | hsv(272.31 65% 47.06%) |
| HWB | hwb(272.31 16.47% 52.94%) |
| CMYK | cmyk(30% 65% 0% 53%) |
| Lab | lab(26.07 31.56 -37.55) |
| LCH | lch(26.07 49.05 310.05) |
| OKLab | oklab(38.097% 0.07622 -0.10521) |
| OKLCH | oklch(38.097% 0.12992 305.921) |
| Display P3 | color(display-p3 0.30754 0.17308 0.45436) |
| Rec. 2020 | color(rec2020 0.23585 0.12606 0.39817) |
| Adobe RGB | color(a98-rgb 0.29843 0.18046 0.45974) |
| ProPhoto RGB | color(prophoto-rgb 0.24746 0.15339 0.3697) |
| Linear sRGB | color(srgb-linear 0.08866 0.02315 0.18782) |
| XYZ D65 | color(xyz-d65 0.07874 0.04897 0.183) |
| XYZ D50 | color(xyz-d50 0.07445 0.04771 0.1376) |
| SwiftUI | Color(red: 0.329, green: 0.165, blue: 0.471) |
| UIKit | UIColor(red: 0.329, green: 0.165, blue: 0.471, alpha: 1) |
| Flutter / Compose | Color(0xFF542A78) |
| Android XML | #542A78 |

## 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.61:1
- Contrast with black: 1.98:1

## Tints

#542a78, #633f86, #735493, #8468a1, #947dae, #a592bc, #b7a7c9, #c8bcd7, #dad2e4, #ece8f2

## Shades

#542a78, #482367, #3c1c57, #311648, #261039, #1b0a2a, #11051d, #080210, #020105, #000001

## Tones

#542a78, #522e73, #50316e, #4f3469, #4d3763, #4b395e, #493b59, #483d53, #463f4e, #444148

## Harmonies

- Complementary: #542a78, #334c00
- Split: #542a78, #524100, #005425
- Analogous: #542a78, #323786, #6a1f5c
- Triadic: #542a78, #673400, #005149
- Tetradic: #542a78, #771838, #334c00, #005149
- Square: #542a78, #781d01, #334c00, #004d60
- Monochromatic: #542a78, #140027, #340354, #764d9d, #9a70c4

## Questions about #542a78

### What color is #542a78?

#542a78 is soft dark purple. The closest named color is Regalia. In RGB it is rgb(84, 42, 120), in HSL hsl(272.31, 48.15%, 31.76%) and in OKLCH oklch(38.097% 0.12992 305.921).

### What colors go well with #542a78?

The complementary color of #542a78 is #334c00. For a calmer combination use the analogous colors #323786 and #6a1f5c. The triadic partners are #673400 and #005149.

### Is white or black text more readable on #542a78?

White text reads better on #542a78: white gives a contrast ratio of 10.61:1 and black gives 1.98:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #542a78 a warm or cool color?

#542a78 is a neutral color. In OKLCH its hue is 306 degrees, its lightness 38.1% and its chroma 0.13.
