# #402d6f color: Her Highness

#402d6f is rgb(64, 45, 111) in RGB and oklch(35.593% 0.10966 293.301) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402d6f |
| RGB | rgb(64, 45, 111) |
| HSL | hsl(257.27, 42.31%, 30.59%) |
| HSB / HSV | hsv(257.27 59.46% 43.53%) |
| HWB | hwb(257.27 17.65% 56.47%) |
| CMYK | cmyk(42% 59% 0% 56%) |
| Lab | lab(23.62 21.92 -35.91) |
| LCH | lch(23.62 42.07 301.4) |
| OKLab | oklab(35.593% 0.04338 -0.10071) |
| OKLCH | oklch(35.593% 0.10966 293.301) |
| Display P3 | color(display-p3 0.23964 0.1795 0.42026) |
| Rec. 2020 | color(rec2020 0.18023 0.12581 0.36247) |
| Adobe RGB | color(a98-rgb 0.24199 0.19103 0.4265) |
| ProPhoto RGB | color(prophoto-rgb 0.20588 0.14888 0.33748) |
| Linear sRGB | color(srgb-linear 0.05127 0.02624 0.15896) |
| XYZ D65 | color(xyz-d65 0.05922 0.04114 0.15522) |
| XYZ D50 | color(xyz-d50 0.05521 0.03986 0.11678) |
| SwiftUI | Color(red: 0.251, green: 0.176, blue: 0.435) |
| UIKit | UIColor(red: 0.251, green: 0.176, blue: 0.435, alpha: 1) |
| Flutter / Compose | Color(0xFF402D6F) |
| Android XML | #402D6F |

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

## Tints

#402d6f, #50417d, #61558c, #73699a, #867da9, #9992b7, #aca7c5, #c0bcd4, #d5d2e2, #eae8f1

## Shades

#402d6f, #362660, #2d1f51, #241842, #1b1134, #130b27, #0b061a, #05020e, #010104, #000001

## Tones

#402d6f, #3f2f6a, #3f3165, #3e3360, #3e355b, #3d3656, #3d3851, #3d394c, #3c3a47, #3c3b41

## Harmonies

- Complementary: #402d6f, #3d4000
- Split: #402d6f, #533600, #0a4a0d
- Analogous: #402d6f, #1c3875, #56245c
- Triadic: #402d6f, #662600, #004a38
- Tetradic: #402d6f, #641d41, #3d4000, #004a38
- Square: #402d6f, #6a1d1f, #3d4000, #00474f
- Monochromatic: #402d6f, #0a0024, #230a4c, #604f94, #8271ba

## Questions about #402d6f

### What color is #402d6f?

#402d6f is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 45, 111), in HSL hsl(257.27, 42.31%, 30.59%) and in OKLCH oklch(35.593% 0.10966 293.301).

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

The complementary color of #402d6f is #3d4000. For a calmer combination use the analogous colors #1c3875 and #56245c. The triadic partners are #662600 and #004a38.

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

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

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

#402d6f is a cool color. In OKLCH its hue is 293 degrees, its lightness 35.6% and its chroma 0.11.
