# #402d6a color: Her Highness

#402d6a is rgb(64, 45, 106) in RGB and oklch(35.222% 0.10248 294.968) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402d6a |
| RGB | rgb(64, 45, 106) |
| HSL | hsl(258.69, 40.4%, 29.61%) |
| HSB / HSV | hsv(258.69 57.55% 41.57%) |
| HWB | hwb(258.69 17.65% 58.43%) |
| CMYK | cmyk(40% 58% 0% 58%) |
| Lab | lab(23.32 20.71 -33.18) |
| LCH | lch(23.32 39.11 301.97) |
| OKLab | oklab(35.222% 0.04326 -0.0929) |
| OKLCH | oklch(35.222% 0.10248 294.968) |
| Display P3 | color(display-p3 0.23964 0.1795 0.40162) |
| Rec. 2020 | color(rec2020 0.17853 0.12523 0.343) |
| Adobe RGB | color(a98-rgb 0.24199 0.19103 0.40805) |
| ProPhoto RGB | color(prophoto-rgb 0.20175 0.14781 0.32011) |
| Linear sRGB | color(srgb-linear 0.05127 0.02624 0.14413) |
| XYZ D65 | color(xyz-d65 0.05654 0.04007 0.14112) |
| XYZ D50 | color(xyz-d50 0.05309 0.03896 0.10618) |
| SwiftUI | Color(red: 0.251, green: 0.176, blue: 0.416) |
| UIKit | UIColor(red: 0.251, green: 0.176, blue: 0.416, alpha: 1) |
| Flutter / Compose | Color(0xFF402D6A) |
| Android XML | #402D6A |

## 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.66:1
- Contrast with black: 1.8:1

## Tints

#402d6a, #504179, #615488, #736896, #867da5, #9991b4, #aca6c3, #c0bcd2, #d5d2e1, #eae8f0

## Shades

#402d6a, #36265b, #2d1f4d, #24183f, #1b1131, #130b24, #0b0618, #05020d, #010104, #000000

## Tones

#402d6a, #3f2f65, #3f3161, #3e335c, #3d3458, #3d3653, #3c374e, #3c384a, #3c3945, #3b3a40

## Harmonies

- Complementary: #402d6a, #3a4000
- Split: #402d6a, #513600, #0a4814
- Analogous: #402d6a, #203770, #552458
- Triadic: #402d6a, #622800, #004938
- Tetradic: #402d6a, #621f3e, #3a4000, #004938
- Square: #402d6a, #661f1e, #3a4000, #00464f
- Monochromatic: #402d6a, #0b0023, #230c47, #604e8f, #8271b4

## Questions about #402d6a

### What color is #402d6a?

#402d6a is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 45, 106), in HSL hsl(258.69, 40.4%, 29.61%) and in OKLCH oklch(35.222% 0.10248 294.968).

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

The complementary color of #402d6a is #3a4000. For a calmer combination use the analogous colors #203770 and #552458. The triadic partners are #622800 and #004938.

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

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

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

#402d6a is a cool color. In OKLCH its hue is 295 degrees, its lightness 35.2% and its chroma 0.102.
