# #402c6f color: Her Highness

#402c6f is rgb(64, 44, 111) in RGB and oklch(35.412% 0.11126 293.696) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402c6f |
| RGB | rgb(64, 44, 111) |
| HSL | hsl(257.91, 43.23%, 30.39%) |
| HSB / HSV | hsv(257.91 60.36% 43.53%) |
| HWB | hwb(257.91 17.25% 56.47%) |
| CMYK | cmyk(42% 60% 0% 56%) |
| Lab | lab(23.37 22.53 -36.31) |
| LCH | lch(23.37 42.74 301.82) |
| OKLab | oklab(35.412% 0.04471 -0.10188) |
| OKLCH | oklch(35.412% 0.11126 293.696) |
| Display P3 | color(display-p3 0.23915 0.17578 0.42016) |
| Rec. 2020 | color(rec2020 0.17931 0.12245 0.36234) |
| Adobe RGB | color(a98-rgb 0.24124 0.1875 0.42644) |
| ProPhoto RGB | color(prophoto-rgb 0.20519 0.14651 0.33731) |
| Linear sRGB | color(srgb-linear 0.05127 0.02519 0.15896) |
| XYZ D65 | color(xyz-d65 0.05884 0.04039 0.15509) |
| XYZ D50 | color(xyz-d50 0.0548 0.0391 0.11667) |
| SwiftUI | Color(red: 0.251, green: 0.173, blue: 0.435) |
| UIKit | UIColor(red: 0.251, green: 0.173, blue: 0.435, alpha: 1) |
| Flutter / Compose | Color(0xFF402C6F) |
| Android XML | #402C6F |

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

## Tints

#402c6f, #50407d, #61548c, #73689a, #867ca9, #9991b7, #aca6c5, #c0bcd4, #d5d2e2, #eae8f1

## Shades

#402c6f, #362560, #2d1e51, #241742, #1b1134, #130a27, #0b051a, #05020e, #010104, #000001

## Tones

#402c6f, #3f2e6a, #3f3165, #3e3260, #3d345b, #3d3656, #3d3751, #3c384c, #3c3a46, #3c3b41

## Harmonies

- Complementary: #402c6f, #3c4000
- Split: #402c6f, #523600, #05490c
- Analogous: #402c6f, #1c3775, #56225c
- Triadic: #402c6f, #652500, #004a38
- Tetradic: #402c6f, #651b40, #3c4000, #004a38
- Square: #402c6f, #6a1b1d, #3c4000, #00474e
- Monochromatic: #402c6f, #0a0024, #23094c, #604e94, #8271ba

## Questions about #402c6f

### What color is #402c6f?

#402c6f is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 44, 111), in HSL hsl(257.91, 43.23%, 30.39%) and in OKLCH oklch(35.412% 0.11126 293.696).

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

The complementary color of #402c6f is #3c4000. For a calmer combination use the analogous colors #1c3775 and #56225c. The triadic partners are #652500 and #004a38.

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

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

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

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