# #402d6c color: Her Highness

#402d6c is rgb(64, 45, 108) in RGB and oklch(35.369% 0.10536 294.28) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402d6c |
| RGB | rgb(64, 45, 108) |
| HSL | hsl(258.1, 41.18%, 30%) |
| HSB / HSV | hsv(258.1 58.33% 42.35%) |
| HWB | hwb(258.1 17.65% 57.65%) |
| CMYK | cmyk(41% 58% 0% 58%) |
| Lab | lab(23.44 21.19 -34.27) |
| LCH | lch(23.44 40.3 301.73) |
| OKLab | oklab(35.369% 0.04332 -0.09604) |
| OKLCH | oklch(35.369% 0.10536 294.28) |
| Display P3 | color(display-p3 0.23964 0.1795 0.40907) |
| Rec. 2020 | color(rec2020 0.1792 0.12546 0.35078) |
| Adobe RGB | color(a98-rgb 0.24199 0.19103 0.41542) |
| ProPhoto RGB | color(prophoto-rgb 0.20338 0.14823 0.32703) |
| Linear sRGB | color(srgb-linear 0.05127 0.02624 0.14996) |
| XYZ D65 | color(xyz-d65 0.05759 0.04049 0.14666) |
| XYZ D50 | color(xyz-d50 0.05392 0.03931 0.11035) |
| SwiftUI | Color(red: 0.251, green: 0.176, blue: 0.424) |
| UIKit | UIColor(red: 0.251, green: 0.176, blue: 0.424, alpha: 1) |
| Flutter / Compose | Color(0xFF402D6C) |
| Android XML | #402D6C |

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

## Tints

#402d6c, #50417b, #615489, #736898, #867da7, #9991b5, #aca7c4, #c0bcd3, #d5d2e1, #eae8f0

## Shades

#402d6c, #36265d, #2d1f4e, #241840, #1b1132, #130b25, #0b0619, #05020d, #010104, #000000

## Tones

#402d6c, #3f2f67, #3f3163, #3e335e, #3e3459, #3d3654, #3d3750, #3c384b, #3c3946, #3c3a41

## Harmonies

- Complementary: #402d6c, #3b4000
- Split: #402d6c, #513600, #0a4911
- Analogous: #402d6c, #1f3772, #55245a
- Triadic: #402d6c, #632700, #004a38
- Tetradic: #402d6c, #631e3f, #3b4000, #004a38
- Square: #402d6c, #681e1e, #3b4000, #00474f
- Monochromatic: #402d6c, #0a0023, #230b49, #604e91, #8271b7

## Questions about #402d6c

### What color is #402d6c?

#402d6c is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 45, 108), in HSL hsl(258.1, 41.18%, 30%) and in OKLCH oklch(35.369% 0.10536 294.28).

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

The complementary color of #402d6c is #3b4000. For a calmer combination use the analogous colors #1f3772 and #55245a. The triadic partners are #632700 and #004a38.

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

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

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

#402d6c is a cool color. In OKLCH its hue is 294 degrees, its lightness 35.4% and its chroma 0.105.
