# #40316f color: Her Highness

#40316f is rgb(64, 49, 111) in RGB and oklch(36.342% 0.10316 291.571) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #40316f |
| RGB | rgb(64, 49, 111) |
| HSL | hsl(254.52, 38.75%, 31.37%) |
| HSB / HSV | hsv(254.52 55.86% 43.53%) |
| HWB | hwb(254.52 19.22% 56.47%) |
| CMYK | cmyk(42% 56% 0% 56%) |
| Lab | lab(24.66 19.44 -34.25) |
| LCH | lch(24.66 39.39 299.57) |
| OKLab | oklab(36.342% 0.03793 -0.09593) |
| OKLCH | oklch(36.342% 0.10316 291.571) |
| Display P3 | color(display-p3 0.24171 0.19443 0.42069) |
| Rec. 2020 | color(rec2020 0.18408 0.13944 0.36303) |
| Adobe RGB | color(a98-rgb 0.24514 0.2052 0.42673) |
| ProPhoto RGB | color(prophoto-rgb 0.20877 0.15859 0.33817) |
| Linear sRGB | color(srgb-linear 0.05127 0.03071 0.15896) |
| XYZ D65 | color(xyz-d65 0.06082 0.04434 0.15575) |
| XYZ D50 | color(xyz-d50 0.05693 0.04306 0.11721) |
| SwiftUI | Color(red: 0.251, green: 0.192, blue: 0.435) |
| UIKit | UIColor(red: 0.251, green: 0.192, blue: 0.435, alpha: 1) |
| Flutter / Compose | Color(0xFF40316F) |
| Android XML | #40316F |

## 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.13:1
- Contrast with black: 1.89:1

## Tints

#40316f, #50447d, #61588c, #736b9a, #867fa8, #9994b7, #aca8c5, #c0bdd4, #d5d3e2, #eae9f0

## Shades

#40316f, #362960, #2d2251, #241a42, #1b1334, #130c27, #0b061a, #05030e, #010104, #000001

## Tones

#40316f, #40336a, #3f3566, #3f3661, #3e385c, #3e3957, #3e3a52, #3e3b4d, #3e3c48, #3e3d43

## Harmonies

- Complementary: #40316f, #414200
- Split: #40316f, #563700, #174b11
- Analogous: #40316f, #1d3b73, #56285e
- Triadic: #40316f, #662a00, #004d38
- Tetradic: #40316f, #642244, #414200, #004d38
- Square: #40316f, #6a2225, #414200, #004a50
- Monochromatic: #40316f, #0a0026, #23104c, #605294, #8275ba

## Questions about #40316f

### What color is #40316f?

#40316f is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 49, 111), in HSL hsl(254.52, 38.75%, 31.37%) and in OKLCH oklch(36.342% 0.10316 291.571).

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

The complementary color of #40316f is #414200. For a calmer combination use the analogous colors #1d3b73 and #56285e. The triadic partners are #662a00 and #004d38.

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

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

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

#40316f is a cool color. In OKLCH its hue is 292 degrees, its lightness 36.3% and its chroma 0.103.
