# #402e6a color: Her Highness

#402e6a is rgb(64, 46, 106) in RGB and oklch(35.409% 0.1008 294.527) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402e6a |
| RGB | rgb(64, 46, 106) |
| HSL | hsl(258, 39.47%, 29.8%) |
| HSB / HSV | hsv(258 56.6% 41.57%) |
| HWB | hwb(258 18.04% 58.43%) |
| CMYK | cmyk(40% 57% 0% 58%) |
| Lab | lab(23.58 20.09 -32.76) |
| LCH | lch(23.58 38.43 301.52) |
| OKLab | oklab(35.409% 0.04185 -0.09171) |
| OKLCH | oklch(35.409% 0.1008 294.527) |
| Display P3 | color(display-p3 0.24014 0.18322 0.40173) |
| Rec. 2020 | color(rec2020 0.17947 0.12862 0.34314) |
| Adobe RGB | color(a98-rgb 0.24275 0.19456 0.40811) |
| ProPhoto RGB | color(prophoto-rgb 0.20246 0.15021 0.32029) |
| Linear sRGB | color(srgb-linear 0.05127 0.02732 0.14413) |
| XYZ D65 | color(xyz-d65 0.05692 0.04085 0.14125) |
| XYZ D50 | color(xyz-d50 0.0535 0.03973 0.10629) |
| SwiftUI | Color(red: 0.251, green: 0.18, blue: 0.416) |
| UIKit | UIColor(red: 0.251, green: 0.18, blue: 0.416, alpha: 1) |
| Flutter / Compose | Color(0xFF402E6A) |
| Android XML | #402E6A |

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

## Tints

#402e6a, #504179, #615588, #736996, #867da5, #9992b4, #aca7c3, #c0bcd2, #d5d2e1, #eae8f0

## Shades

#402e6a, #36275b, #2d1f4d, #24183f, #1b1231, #130b24, #0b0618, #05020d, #010104, #000000

## Tones

#402e6a, #3f3066, #3f3261, #3e335d, #3e3558, #3d3653, #3d384f, #3c394a, #3c3a45, #3c3b40

## Harmonies

- Complementary: #402e6a, #3b4000
- Split: #402e6a, #513600, #0e4814
- Analogous: #402e6a, #203870, #552658
- Triadic: #402e6a, #622900, #004a38
- Tetradic: #402e6a, #62203f, #3b4000, #004a38
- Square: #402e6a, #662020, #3b4000, #00474f
- Monochromatic: #402e6a, #0a0023, #230d47, #604f8e, #8272b4

## Questions about #402e6a

### What color is #402e6a?

#402e6a is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 46, 106), in HSL hsl(258, 39.47%, 29.8%) and in OKLCH oklch(35.409% 0.1008 294.527).

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

The complementary color of #402e6a is #3b4000. For a calmer combination use the analogous colors #203870 and #552658. The triadic partners are #622900 and #004a38.

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

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

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

#402e6a is a cool color. In OKLCH its hue is 295 degrees, its lightness 35.4% and its chroma 0.101.
