# #402e71 color: Her Highness

#402e71 is rgb(64, 46, 113) in RGB and oklch(35.927% 0.11092 292.282) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/402e71

## Formats

| Format | Value |
| --- | --- |
| HEX | #402e71 |
| RGB | rgb(64, 46, 113) |
| HSL | hsl(256.12, 42.14%, 31.18%) |
| HSB / HSV | hsv(256.12 59.29% 44.31%) |
| HWB | hwb(256.12 18.04% 55.69%) |
| CMYK | cmyk(43% 59% 0% 56%) |
| Lab | lab(24 21.79 -36.59) |
| LCH | lch(24 42.58 300.78) |
| OKLab | oklab(35.927% 0.04206 -0.10263) |
| OKLCH | oklch(35.927% 0.11092 292.282) |
| Display P3 | color(display-p3 0.24014 0.18322 0.42782) |
| Rec. 2020 | color(rec2020 0.18186 0.12943 0.37041) |
| Adobe RGB | color(a98-rgb 0.24275 0.19456 0.43395) |
| ProPhoto RGB | color(prophoto-rgb 0.20828 0.1517 0.34466) |
| Linear sRGB | color(srgb-linear 0.05127 0.02732 0.16513) |
| XYZ D65 | color(xyz-d65 0.06072 0.04236 0.16121) |
| XYZ D50 | color(xyz-d50 0.05651 0.041 0.12129) |
| SwiftUI | Color(red: 0.251, green: 0.18, blue: 0.443) |
| UIKit | UIColor(red: 0.251, green: 0.18, blue: 0.443, alpha: 1) |
| Flutter / Compose | Color(0xFF402E71) |
| Android XML | #402E71 |

## 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.37:1
- Contrast with black: 1.85:1

## Tints

#402e71, #50427f, #61568e, #736a9c, #857eaa, #9992b8, #aca7c6, #c0bdd4, #d5d2e3, #eae9f1

## Shades

#402e71, #362761, #2d1f52, #241843, #1b1235, #130b27, #0b061a, #05020e, #010104, #000001

## Tones

#402e71, #3f306c, #3f3267, #3e3462, #3e365d, #3e3758, #3d3952, #3d3a4d, #3d3b48, #3d3c42

## Harmonies

- Complementary: #402e71, #3f4100
- Split: #402e71, #543600, #0e4a0a
- Analogous: #402e71, #1b3976, #57245e
- Triadic: #402e71, #672600, #004b38
- Tetradic: #402e71, #661d43, #3f4100, #004b38
- Square: #402e71, #6b1d20, #3f4100, #00484f
- Monochromatic: #402e71, #0a0024, #230b4d, #605096, #8273bc

## Questions about #402e71

### What color is #402e71?

#402e71 is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 46, 113), in HSL hsl(256.12, 42.14%, 31.18%) and in OKLCH oklch(35.927% 0.11092 292.282).

### What colors go well with #402e71?

The complementary color of #402e71 is #3f4100. For a calmer combination use the analogous colors #1b3976 and #57245e. The triadic partners are #672600 and #004b38.

### Is white or black text more readable on #402e71?

White text reads better on #402e71: white gives a contrast ratio of 11.37:1 and black gives 1.85:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #402e71 a warm or cool color?

#402e71 is a cool color. In OKLCH its hue is 292 degrees, its lightness 35.9% and its chroma 0.111.
