# #402b6f color: Her Highness

#402b6f is rgb(64, 43, 111) in RGB and oklch(35.233% 0.11285 294.078) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402b6f |
| RGB | rgb(64, 43, 111) |
| HSL | hsl(258.53, 44.16%, 30.2%) |
| HSB / HSV | hsv(258.53 61.26% 43.53%) |
| HWB | hwb(258.53 16.86% 56.47%) |
| CMYK | cmyk(42% 61% 0% 56%) |
| Lab | lab(23.12 23.14 -36.71) |
| LCH | lch(23.12 43.4 302.22) |
| OKLab | oklab(35.233% 0.04604 -0.10303) |
| OKLCH | oklch(35.233% 0.11285 294.078) |
| Display P3 | color(display-p3 0.23867 0.17206 0.42006) |
| Rec. 2020 | color(rec2020 0.17841 0.11911 0.36221) |
| Adobe RGB | color(a98-rgb 0.2405 0.18398 0.42639) |
| ProPhoto RGB | color(prophoto-rgb 0.20452 0.14418 0.33715) |
| Linear sRGB | color(srgb-linear 0.05127 0.02416 0.15896) |
| XYZ D65 | color(xyz-d65 0.05847 0.03965 0.15497) |
| XYZ D50 | color(xyz-d50 0.05441 0.03836 0.11657) |
| SwiftUI | Color(red: 0.251, green: 0.169, blue: 0.435) |
| UIKit | UIColor(red: 0.251, green: 0.169, blue: 0.435, alpha: 1) |
| Flutter / Compose | Color(0xFF402B6F) |
| Android XML | #402B6F |

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

## Tints

#402b6f, #503f7e, #61538c, #73679a, #867ca9, #9991b7, #aca6c5, #c0bcd4, #d5d2e2, #eae8f1

## Shades

#402b6f, #362460, #2d1d51, #241642, #1b1034, #130a27, #0b051a, #05020e, #010104, #000001

## Tones

#402b6f, #3f2e6a, #3f3065, #3e3260, #3d335b, #3d3556, #3c3751, #3c384b, #3c3946, #3b3a41

## Harmonies

- Complementary: #402b6f, #3b4000
- Split: #402b6f, #513500, #01490a
- Analogous: #402b6f, #1c3675, #56215c
- Triadic: #402b6f, #652500, #004938
- Tetradic: #402b6f, #651a3f, #3b4000, #004938
- Square: #402b6f, #6a1a1c, #3b4000, #00464e
- Monochromatic: #402b6f, #0a0024, #23074c, #604d94, #8270ba

## Questions about #402b6f

### What color is #402b6f?

#402b6f is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 43, 111), in HSL hsl(258.53, 44.16%, 30.2%) and in OKLCH oklch(35.233% 0.11285 294.078).

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

The complementary color of #402b6f is #3b4000. For a calmer combination use the analogous colors #1c3675 and #56215c. The triadic partners are #652500 and #004938.

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

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

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

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