# #402e6b color: Her Highness

#402e6b is rgb(64, 46, 107) in RGB and oklch(35.482% 0.10226 294.186) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402e6b |
| RGB | rgb(64, 46, 107) |
| HSL | hsl(257.7, 39.87%, 30%) |
| HSB / HSV | hsv(257.7 57.01% 41.96%) |
| HWB | hwb(257.7 18.04% 58.04%) |
| CMYK | cmyk(40% 57% 0% 58%) |
| Lab | lab(23.64 20.33 -33.31) |
| LCH | lch(23.64 39.03 301.39) |
| OKLab | oklab(35.482% 0.0419 -0.09328) |
| OKLCH | oklch(35.482% 0.10226 294.186) |
| Display P3 | color(display-p3 0.24014 0.18322 0.40546) |
| Rec. 2020 | color(rec2020 0.1798 0.12873 0.34703) |
| Adobe RGB | color(a98-rgb 0.24275 0.19456 0.41179) |
| ProPhoto RGB | color(prophoto-rgb 0.20327 0.15042 0.32374) |
| Linear sRGB | color(srgb-linear 0.05127 0.02732 0.14703) |
| XYZ D65 | color(xyz-d65 0.05745 0.04106 0.144) |
| XYZ D50 | color(xyz-d50 0.05392 0.03991 0.10836) |
| SwiftUI | Color(red: 0.251, green: 0.18, blue: 0.42) |
| UIKit | UIColor(red: 0.251, green: 0.18, blue: 0.42, alpha: 1) |
| Flutter / Compose | Color(0xFF402E6B) |
| Android XML | #402E6B |

## 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.53:1
- Contrast with black: 1.82:1

## Tints

#402e6b, #50427a, #615588, #736997, #867da6, #9992b5, #aca7c3, #c0bcd2, #d5d2e1, #eae8f0

## Shades

#402e6b, #36275c, #2d1f4e, #24183f, #1b1232, #130b25, #0b0618, #05020d, #010104, #000000

## Tones

#402e6b, #3f3066, #3f3262, #3e345d, #3e3559, #3d3654, #3d384f, #3c394b, #3c3a46, #3c3b41

## Harmonies

- Complementary: #402e6b, #3c4000
- Split: #402e6b, #523600, #0e4913
- Analogous: #402e6b, #203871, #552559
- Triadic: #402e6b, #632800, #004a38
- Tetradic: #402e6b, #62203f, #3c4000, #004a38
- Square: #402e6b, #672020, #3c4000, #00474f
- Monochromatic: #402e6b, #0a0024, #230d48, #604f90, #8272b6

## Questions about #402e6b

### What color is #402e6b?

#402e6b is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 46, 107), in HSL hsl(257.7, 39.87%, 30%) and in OKLCH oklch(35.482% 0.10226 294.186).

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

The complementary color of #402e6b is #3c4000. For a calmer combination use the analogous colors #203871 and #552559. The triadic partners are #632800 and #004a38.

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

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

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

#402e6b is a cool color. In OKLCH its hue is 294 degrees, its lightness 35.5% and its chroma 0.102.
