# #402f6b color: Her Highness

#402f6b is rgb(64, 47, 107) in RGB and oklch(35.671% 0.10059 293.735) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402f6b |
| RGB | rgb(64, 47, 107) |
| HSL | hsl(257, 38.96%, 30.2%) |
| HSB / HSV | hsv(257 56.07% 41.96%) |
| HWB | hwb(257 18.43% 58.04%) |
| CMYK | cmyk(40% 56% 0% 58%) |
| Lab | lab(23.9 19.71 -32.9) |
| LCH | lch(23.9 38.35 300.92) |
| OKLab | oklab(35.671% 0.04049 -0.09208) |
| OKLCH | oklch(35.671% 0.10059 293.735) |
| Display P3 | color(display-p3 0.24065 0.18695 0.40557) |
| Rec. 2020 | color(rec2020 0.18076 0.13214 0.34717) |
| Adobe RGB | color(a98-rgb 0.24353 0.1981 0.41185) |
| ProPhoto RGB | color(prophoto-rgb 0.20399 0.15284 0.32392) |
| Linear sRGB | color(srgb-linear 0.05127 0.02843 0.14703) |
| XYZ D65 | color(xyz-d65 0.05784 0.04185 0.14413) |
| XYZ D50 | color(xyz-d50 0.05434 0.0407 0.10847) |
| SwiftUI | Color(red: 0.251, green: 0.184, blue: 0.42) |
| UIKit | UIColor(red: 0.251, green: 0.184, blue: 0.42, alpha: 1) |
| Flutter / Compose | Color(0xFF402F6B) |
| Android XML | #402F6B |

## 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.43:1
- Contrast with black: 1.84:1

## Tints

#402f6b, #50427a, #615688, #736a97, #867ea6, #9992b4, #aca7c3, #c0bdd2, #d5d2e1, #eae9f0

## Shades

#402f6b, #36275c, #2d204e, #24193f, #1b1232, #130c25, #0b0618, #05030d, #010104, #000000

## Tones

#402f6b, #3f3166, #3f3362, #3e345d, #3e3659, #3d3754, #3d3850, #3d394b, #3d3a46, #3c3b41

## Harmonies

- Complementary: #402f6b, #3d4100
- Split: #402f6b, #533600, #124914
- Analogous: #402f6b, #203970, #55275a
- Triadic: #402f6b, #632900, #004b38
- Tetradic: #402f6b, #622140, #3d4100, #004b38
- Square: #402f6b, #672121, #3d4100, #00484f
- Monochromatic: #402f6b, #0a0024, #230e48, #605090, #8273b5

## Questions about #402f6b

### What color is #402f6b?

#402f6b is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 47, 107), in HSL hsl(257, 38.96%, 30.2%) and in OKLCH oklch(35.671% 0.10059 293.735).

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

The complementary color of #402f6b is #3d4100. For a calmer combination use the analogous colors #203970 and #55275a. The triadic partners are #632900 and #004b38.

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

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

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

#402f6b is a cool color. In OKLCH its hue is 294 degrees, its lightness 35.7% and its chroma 0.101.
