# #540945 color: Royal Ash

#540945 is rgb(84, 9, 69) in RGB and oklch(30.935% 0.12397 338.189) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #540945 |
| RGB | rgb(84, 9, 69) |
| HSL | hsl(312, 80.65%, 18.24%) |
| HSB / HSV | hsv(312 89.29% 32.94%) |
| HWB | hwb(312 3.53% 67.06%) |
| CMYK | cmyk(0% 89% 18% 67%) |
| Lab | lab(18.05 37.45 -16.57) |
| LCH | lch(18.05 40.95 336.13) |
| OKLab | oklab(30.935% 0.1151 -0.04606) |
| OKLCH | oklch(30.935% 0.12397 338.189) |
| Display P3 | color(display-p3 0.30033 0.06647 0.2622) |
| Rec. 2020 | color(rec2020 0.20855 0.04191 0.19873) |
| Adobe RGB | color(a98-rgb 0.28689 0.06829 0.2722) |
| ProPhoto RGB | color(prophoto-rgb 0.20201 0.08874 0.19621) |
| Linear sRGB | color(srgb-linear 0.08866 0.00273 0.05951) |
| XYZ D65 | color(xyz-d65 0.04828 0.0251 0.05861) |
| XYZ D50 | color(xyz-d50 0.04823 0.02529 0.044) |
| SwiftUI | Color(red: 0.329, green: 0.035, blue: 0.271) |
| UIKit | UIColor(red: 0.329, green: 0.035, blue: 0.271, alpha: 1) |
| Flutter / Compose | Color(0xFF540945) |
| Android XML | #540945 |

## 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: 13.98:1
- Contrast with black: 1.5:1

## Tints

#540945, #662556, #773d67, #885479, #996b8b, #aa829e, #bb9ab1, #ccb3c4, #ddccd7, #eee5eb

## Shades

#540945, #48073b, #3c0531, #310327, #26021e, #1b0115, #11010c, #080005, #020002, #000000

## Tones

#540945, #511143, #4e1741, #4b1b3f, #471f3d, #44233b, #402639, #3d2937, #392b34, #352e32

## Harmonies

- Complementary: #540945, #003e1b
- Split: #540945, #203900, #003b37
- Analogous: #540945, #42165f, #5e0024
- Triadic: #540945, #3b2f00, #00384a
- Tetradic: #540945, #5f0700, #003e1b, #00384a
- Square: #540945, #4c2500, #003e1b, #003068
- Monochromatic: #540945, #15000f, #2d0023, #792f67, #9f528a

## Questions about #540945

### What color is #540945?

#540945 is deep dark purple. The closest named color is Royal Ash. In RGB it is rgb(84, 9, 69), in HSL hsl(312, 80.65%, 18.24%) and in OKLCH oklch(30.935% 0.12397 338.189).

### What colors go well with #540945?

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

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

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

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

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