# #402b6b color: Her Highness

#402b6b is rgb(64, 43, 107) in RGB and oklch(34.929% 0.10721 295.441) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402b6b |
| RGB | rgb(64, 43, 107) |
| HSL | hsl(259.69, 42.67%, 29.41%) |
| HSB / HSV | hsv(259.69 59.81% 41.96%) |
| HWB | hwb(259.69 16.86% 58.04%) |
| CMYK | cmyk(40% 60% 0% 58%) |
| Lab | lab(22.87 22.18 -34.54) |
| LCH | lch(22.87 41.05 302.71) |
| OKLab | oklab(34.929% 0.04606 -0.09682) |
| OKLCH | oklch(34.929% 0.10721 295.441) |
| Display P3 | color(display-p3 0.23867 0.17206 0.40514) |
| Rec. 2020 | color(rec2020 0.17703 0.11862 0.34661) |
| Adobe RGB | color(a98-rgb 0.2405 0.18398 0.41162) |
| ProPhoto RGB | color(prophoto-rgb 0.20118 0.1433 0.32323) |
| Linear sRGB | color(srgb-linear 0.05127 0.02416 0.14703) |
| XYZ D65 | color(xyz-d65 0.05632 0.03879 0.14362) |
| XYZ D50 | color(xyz-d50 0.0527 0.03764 0.10805) |
| SwiftUI | Color(red: 0.251, green: 0.169, blue: 0.42) |
| UIKit | UIColor(red: 0.251, green: 0.169, blue: 0.42, alpha: 1) |
| Flutter / Compose | Color(0xFF402B6B) |
| Android XML | #402B6B |

## 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.83:1
- Contrast with black: 1.78:1

## Tints

#402b6b, #503f7a, #615388, #736797, #867ca6, #9990b5, #aca6c3, #c0bcd2, #d5d2e1, #eae8f0

## Shades

#402b6b, #36245c, #2d1d4e, #24163f, #1b1032, #130a25, #0b0518, #05020d, #010104, #000000

## Tones

#402b6b, #3f2d66, #3e2f62, #3e315d, #3d3358, #3c3453, #3c364e, #3b374a, #3b3845, #3b393f

## Harmonies

- Complementary: #402b6b, #393f00
- Split: #402b6b, #4f3500, #014811
- Analogous: #402b6b, #1f3671, #552258
- Triadic: #402b6b, #622600, #004838
- Tetradic: #402b6b, #621c3d, #393f00, #004838
- Square: #402b6b, #671c1b, #393f00, #00454e
- Monochromatic: #402b6b, #0b0023, #230848, #604c90, #826fb6

## Questions about #402b6b

### What color is #402b6b?

#402b6b is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 43, 107), in HSL hsl(259.69, 42.67%, 29.41%) and in OKLCH oklch(34.929% 0.10721 295.441).

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

The complementary color of #402b6b is #393f00. For a calmer combination use the analogous colors #1f3671 and #552258. The triadic partners are #622600 and #004838.

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

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

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

#402b6b is a cool color. In OKLCH its hue is 295 degrees, its lightness 34.9% and its chroma 0.107.
