# #540845 color: Royal Ash

#540845 is rgb(84, 8, 69) in RGB and oklch(30.864% 0.12493 338.151) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/540845

## Formats

| Format | Value |
| --- | --- |
| HEX | #540845 |
| RGB | rgb(84, 8, 69) |
| HSL | hsl(311.84, 82.61%, 18.04%) |
| HSB / HSV | hsv(311.84 90.48% 32.94%) |
| HWB | hwb(311.84 3.14% 67.06%) |
| CMYK | cmyk(0% 90% 18% 67%) |
| Lab | lab(17.95 37.72 -16.72) |
| LCH | lch(17.95 41.26 336.09) |
| OKLab | oklab(30.864% 0.11596 -0.04649) |
| OKLCH | oklch(30.864% 0.12493 338.151) |
| Display P3 | color(display-p3 0.30022 0.06377 0.26215) |
| Rec. 2020 | color(rec2020 0.20831 0.04066 0.19866) |
| Adobe RGB | color(a98-rgb 0.28671 0.06472 0.27217) |
| ProPhoto RGB | color(prophoto-rgb 0.20181 0.08771 0.19614) |
| Linear sRGB | color(srgb-linear 0.08866 0.00243 0.05951) |
| XYZ D65 | color(xyz-d65 0.04817 0.02488 0.05857) |
| XYZ D50 | color(xyz-d50 0.04811 0.02507 0.04397) |
| SwiftUI | Color(red: 0.329, green: 0.031, blue: 0.271) |
| UIKit | UIColor(red: 0.329, green: 0.031, blue: 0.271, alpha: 1) |
| Flutter / Compose | Color(0xFF540845) |
| Android XML | #540845 |

## Facts

- Closest name: Royal Ash
- Hue family: Purple, deep dark purple
- Closest Tailwind class: fuchsia-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 14.02:1
- Contrast with black: 1.5:1

## Tints

#540845, #662556, #773c67, #885379, #996a8b, #aa829e, #bb9ab1, #ccb3c4, #ddccd7, #eee5eb

## Shades

#540845, #48063b, #3c0431, #310327, #26021e, #1b0115, #11010c, #080005, #020002, #000000

## Tones

#540845, #511043, #4e1641, #4b1b3f, #471f3d, #44233b, #402639, #3d2937, #392b34, #342e32

## Harmonies

- Complementary: #540845, #003e1b
- Split: #540845, #203900, #003b37
- Analogous: #540845, #42155f, #5e0024
- Triadic: #540845, #3b2f00, #003849
- Tetradic: #540845, #5f0600, #003e1b, #003849
- Square: #540845, #4c2500, #003e1b, #003067
- Monochromatic: #540845, #15000f, #2d0023, #792f67, #9f518a

## Questions about #540845

### What color is #540845?

#540845 is deep dark purple. The closest named color is Royal Ash. In RGB it is rgb(84, 8, 69), in HSL hsl(311.84, 82.61%, 18.04%) and in OKLCH oklch(30.864% 0.12493 338.151).

### What colors go well with #540845?

The complementary color of #540845 is #003e1b. For a calmer combination use the analogous colors #42155f and #5e0024. The triadic partners are #3b2f00 and #003849.

### Is white or black text more readable on #540845?

White text reads better on #540845: white gives a contrast ratio of 14.02:1 and black gives 1.5:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #540845 a warm or cool color?

#540845 is a neutral color. In OKLCH its hue is 338 degrees, its lightness 30.9% and its chroma 0.125.
