# #402b6e color: Her Highness

#402b6e is rgb(64, 43, 110) in RGB and oklch(35.156% 0.11145 294.409) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402b6e |
| RGB | rgb(64, 43, 110) |
| HSL | hsl(258.81, 43.79%, 30%) |
| HSB / HSV | hsv(258.81 60.91% 43.14%) |
| HWB | hwb(258.81 16.86% 56.86%) |
| CMYK | cmyk(42% 61% 0% 57%) |
| Lab | lab(23.06 22.9 -36.17) |
| LCH | lch(23.06 42.81 302.33) |
| OKLab | oklab(35.156% 0.04605 -0.10149) |
| OKLCH | oklch(35.156% 0.11145 294.409) |
| Display P3 | color(display-p3 0.23867 0.17206 0.41633) |
| Rec. 2020 | color(rec2020 0.17806 0.11898 0.3583) |
| Adobe RGB | color(a98-rgb 0.2405 0.18398 0.42269) |
| ProPhoto RGB | color(prophoto-rgb 0.20368 0.14395 0.33366) |
| Linear sRGB | color(srgb-linear 0.05127 0.02416 0.15593) |
| XYZ D65 | color(xyz-d65 0.05792 0.03944 0.15208) |
| XYZ D50 | color(xyz-d50 0.05397 0.03818 0.11441) |
| SwiftUI | Color(red: 0.251, green: 0.169, blue: 0.431) |
| UIKit | UIColor(red: 0.251, green: 0.169, blue: 0.431, alpha: 1) |
| Flutter / Compose | Color(0xFF402B6E) |
| Android XML | #402B6E |

## 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.74:1
- Contrast with black: 1.79:1

## Tints

#402b6e, #503f7d, #61538b, #73679a, #867ca8, #9991b7, #aca6c5, #c0bcd3, #d5d2e2, #eae8f0

## Shades

#402b6e, #36245f, #2d1d50, #241641, #1b1033, #130a26, #0b0519, #05020e, #010104, #000001

## Tones

#402b6e, #3f2d69, #3e3064, #3e325f, #3d335a, #3d3555, #3c3650, #3c384b, #3b3946, #3b3a40

## Harmonies

- Complementary: #402b6e, #3b4000
- Split: #402b6e, #513500, #01490c
- Analogous: #402b6e, #1c3674, #56215b
- Triadic: #402b6e, #642500, #004938
- Tetradic: #402b6e, #641a3e, #3b4000, #004938
- Square: #402b6e, #691b1c, #3b4000, #00464e
- Monochromatic: #402b6e, #0a0023, #23084b, #604d93, #826fb9

## Questions about #402b6e

### What color is #402b6e?

#402b6e is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 43, 110), in HSL hsl(258.81, 43.79%, 30%) and in OKLCH oklch(35.156% 0.11145 294.409).

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

The complementary color of #402b6e is #3b4000. For a calmer combination use the analogous colors #1c3674 and #56215b. The triadic partners are #642500 and #004938.

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

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

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

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