# #402d6b color: Her Highness

#402d6b is rgb(64, 45, 107) in RGB and oklch(35.295% 0.10392 294.62) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402d6b |
| RGB | rgb(64, 45, 107) |
| HSL | hsl(258.39, 40.79%, 29.8%) |
| HSB / HSV | hsv(258.39 57.94% 41.96%) |
| HWB | hwb(258.39 17.65% 58.04%) |
| CMYK | cmyk(40% 58% 0% 58%) |
| Lab | lab(23.38 20.95 -33.73) |
| LCH | lch(23.38 39.7 301.85) |
| OKLab | oklab(35.295% 0.04329 -0.09447) |
| OKLCH | oklch(35.295% 0.10392 294.62) |
| Display P3 | color(display-p3 0.23964 0.1795 0.40535) |
| Rec. 2020 | color(rec2020 0.17886 0.12535 0.34689) |
| Adobe RGB | color(a98-rgb 0.24199 0.19103 0.41173) |
| ProPhoto RGB | color(prophoto-rgb 0.20256 0.14802 0.32357) |
| Linear sRGB | color(srgb-linear 0.05127 0.02624 0.14703) |
| XYZ D65 | color(xyz-d65 0.05706 0.04028 0.14387) |
| XYZ D50 | color(xyz-d50 0.0535 0.03913 0.10825) |
| SwiftUI | Color(red: 0.251, green: 0.176, blue: 0.42) |
| UIKit | UIColor(red: 0.251, green: 0.176, blue: 0.42, alpha: 1) |
| Flutter / Compose | Color(0xFF402D6B) |
| Android XML | #402D6B |

## 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.63:1
- Contrast with black: 1.81:1

## Tints

#402d6b, #50417a, #615488, #736897, #867da6, #9991b5, #aca7c3, #c0bcd2, #d5d2e1, #eae8f0

## Shades

#402d6b, #36265c, #2d1f4e, #24183f, #1b1132, #130b25, #0b0618, #05020d, #010104, #000000

## Tones

#402d6b, #3f2f66, #3f3162, #3e335d, #3d3458, #3d3654, #3d374f, #3c384a, #3c3945, #3b3a40

## Harmonies

- Complementary: #402d6b, #3b4000
- Split: #402d6b, #513600, #0a4812
- Analogous: #402d6b, #1f3771, #552459
- Triadic: #402d6b, #622800, #004938
- Tetradic: #402d6b, #621e3e, #3b4000, #004938
- Square: #402d6b, #671f1e, #3b4000, #00464f
- Monochromatic: #402d6b, #0a0023, #230b48, #604e90, #8271b6

## Questions about #402d6b

### What color is #402d6b?

#402d6b is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 45, 107), in HSL hsl(258.39, 40.79%, 29.8%) and in OKLCH oklch(35.295% 0.10392 294.62).

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

The complementary color of #402d6b is #3b4000. For a calmer combination use the analogous colors #1f3771 and #552459. The triadic partners are #622800 and #004938.

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

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

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

#402d6b is a cool color. In OKLCH its hue is 295 degrees, its lightness 35.3% and its chroma 0.104.
