# #40316d color: Her Highness

#40316d is rgb(64, 49, 109) in RGB and oklch(36.198% 0.1002 292.163) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/40316d

## Formats

| Format | Value |
| --- | --- |
| HEX | #40316d |
| RGB | rgb(64, 49, 109) |
| HSL | hsl(255, 37.97%, 30.98%) |
| HSB / HSV | hsv(255 55.05% 42.75%) |
| HWB | hwb(255 19.22% 57.25%) |
| CMYK | cmyk(41% 55% 0% 57%) |
| Lab | lab(24.54 18.95 -33.16) |
| LCH | lch(24.54 38.19 299.74) |
| OKLab | oklab(36.198% 0.0378 -0.0928) |
| OKLCH | oklch(36.198% 0.1002 292.163) |
| Display P3 | color(display-p3 0.24171 0.19443 0.41325) |
| Rec. 2020 | color(rec2020 0.1834 0.13922 0.35525) |
| Adobe RGB | color(a98-rgb 0.24514 0.2052 0.41935) |
| ProPhoto RGB | color(prophoto-rgb 0.20711 0.15817 0.33121) |
| Linear sRGB | color(srgb-linear 0.05127 0.03071 0.15293) |
| XYZ D65 | color(xyz-d65 0.05973 0.04391 0.15001) |
| XYZ D50 | color(xyz-d50 0.05607 0.0427 0.1129) |
| SwiftUI | Color(red: 0.251, green: 0.192, blue: 0.427) |
| UIKit | UIColor(red: 0.251, green: 0.192, blue: 0.427, alpha: 1) |
| Flutter / Compose | Color(0xFF40316D) |
| Android XML | #40316D |

## Facts

- Closest name: Her Highness
- Hue family: Violet, soft dark violet
- Closest Tailwind class: indigo-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 11.18:1
- Contrast with black: 1.88:1

## Tints

#40316d, #50447c, #61578a, #736b99, #867fa7, #9993b6, #aca8c4, #c0bdd3, #d5d3e1, #eae9f0

## Shades

#40316d, #36295e, #2d224f, #241a41, #1b1333, #130c26, #0b0619, #05030d, #010104, #000001

## Tones

#40316d, #403368, #3f3564, #3f365f, #3e375b, #3e3956, #3e3a51, #3e3b4c, #3e3c48, #3e3d43

## Harmonies

- Complementary: #40316d, #404200
- Split: #40316d, #553700, #174a13
- Analogous: #40316d, #1f3b72, #55285c
- Triadic: #40316d, #652a00, #004c38
- Tetradic: #40316d, #632343, #404200, #004c38
- Square: #40316d, #682324, #404200, #004950
- Monochromatic: #40316d, #0a0025, #23104a, #605292, #8275b8

## Questions about #40316d

### What color is #40316d?

#40316d is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 49, 109), in HSL hsl(255, 37.97%, 30.98%) and in OKLCH oklch(36.198% 0.1002 292.163).

### What colors go well with #40316d?

The complementary color of #40316d is #404200. For a calmer combination use the analogous colors #1f3b72 and #55285c. The triadic partners are #652a00 and #004c38.

### Is white or black text more readable on #40316d?

White text reads better on #40316d: white gives a contrast ratio of 11.18:1 and black gives 1.88:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #40316d a warm or cool color?

#40316d is a cool color. In OKLCH its hue is 292 degrees, its lightness 36.2% and its chroma 0.1.
