# #402e6c color: Her Highness

#402e6c is rgb(64, 46, 108) in RGB and oklch(35.555% 0.10371 293.852) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402e6c |
| RGB | rgb(64, 46, 108) |
| HSL | hsl(257.42, 40.26%, 30.2%) |
| HSB / HSV | hsv(257.42 57.41% 42.35%) |
| HWB | hwb(257.42 18.04% 57.65%) |
| CMYK | cmyk(41% 57% 0% 58%) |
| Lab | lab(23.7 20.57 -33.86) |
| LCH | lch(23.7 39.62 301.28) |
| OKLab | oklab(35.555% 0.04194 -0.09485) |
| OKLCH | oklch(35.555% 0.10371 293.852) |
| Display P3 | color(display-p3 0.24014 0.18322 0.40918) |
| Rec. 2020 | color(rec2020 0.18014 0.12885 0.35092) |
| Adobe RGB | color(a98-rgb 0.24275 0.19456 0.41548) |
| ProPhoto RGB | color(prophoto-rgb 0.20409 0.15063 0.3272) |
| Linear sRGB | color(srgb-linear 0.05127 0.02732 0.14996) |
| XYZ D65 | color(xyz-d65 0.05798 0.04127 0.14679) |
| XYZ D50 | color(xyz-d50 0.05434 0.04008 0.11045) |
| SwiftUI | Color(red: 0.251, green: 0.18, blue: 0.424) |
| UIKit | UIColor(red: 0.251, green: 0.18, blue: 0.424, alpha: 1) |
| Flutter / Compose | Color(0xFF402E6C) |
| Android XML | #402E6C |

## 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.5:1
- Contrast with black: 1.83:1

## Tints

#402e6c, #50427b, #615589, #736998, #867da6, #9992b5, #aca7c4, #c0bcd3, #d5d2e1, #eae8f0

## Shades

#402e6c, #36275d, #2d1f4e, #241840, #1b1232, #130b25, #0b0619, #05020d, #010104, #000000

## Tones

#402e6c, #3f3067, #3f3263, #3e345e, #3e3559, #3d3755, #3d3850, #3d394b, #3c3a46, #3c3b41

## Harmonies

- Complementary: #402e6c, #3c4100
- Split: #402e6c, #523600, #0e4912
- Analogous: #402e6c, #1f3871, #55255a
- Triadic: #402e6c, #632800, #004a38
- Tetradic: #402e6c, #631f40, #3c4100, #004a38
- Square: #402e6c, #682020, #3c4100, #00474f
- Monochromatic: #402e6c, #0a0024, #230d49, #604f91, #8272b7

## Questions about #402e6c

### What color is #402e6c?

#402e6c is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 46, 108), in HSL hsl(257.42, 40.26%, 30.2%) and in OKLCH oklch(35.555% 0.10371 293.852).

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

The complementary color of #402e6c is #3c4100. For a calmer combination use the analogous colors #1f3871 and #55255a. The triadic partners are #632800 and #004a38.

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

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

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

#402e6c is a cool color. In OKLCH its hue is 294 degrees, its lightness 35.6% and its chroma 0.104.
