# #402b71 color: Her Highness

#402b71 is rgb(64, 43, 113) in RGB and oklch(35.388% 0.11565 293.435) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402b71 |
| RGB | rgb(64, 43, 113) |
| HSL | hsl(258, 44.87%, 30.59%) |
| HSB / HSV | hsv(258 61.95% 44.31%) |
| HWB | hwb(258 16.86% 55.69%) |
| CMYK | cmyk(43% 62% 0% 56%) |
| Lab | lab(23.25 23.62 -37.79) |
| LCH | lch(23.25 44.57 302.01) |
| OKLab | oklab(35.388% 0.04599 -0.10611) |
| OKLCH | oklch(35.388% 0.11565 293.435) |
| Display P3 | color(display-p3 0.23867 0.17206 0.42752) |
| Rec. 2020 | color(rec2020 0.17912 0.11936 0.37003) |
| Adobe RGB | color(a98-rgb 0.2405 0.18398 0.43379) |
| ProPhoto RGB | color(prophoto-rgb 0.20623 0.14463 0.34418) |
| Linear sRGB | color(srgb-linear 0.05127 0.02416 0.16513) |
| XYZ D65 | color(xyz-d65 0.05958 0.0401 0.16083) |
| XYZ D50 | color(xyz-d50 0.05529 0.03874 0.12098) |
| SwiftUI | Color(red: 0.251, green: 0.169, blue: 0.443) |
| UIKit | UIColor(red: 0.251, green: 0.169, blue: 0.443, alpha: 1) |
| Flutter / Compose | Color(0xFF402B71) |
| Android XML | #402B71 |

## 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.65:1
- Contrast with black: 1.8:1

## Tints

#402b71, #503f7f, #61538e, #73689c, #857caa, #9891b8, #aca6c6, #c0bcd5, #d5d2e3, #eae8f1

## Shades

#402b71, #362461, #2d1d52, #241643, #1b1035, #130a27, #0b051a, #05020e, #010104, #000001

## Tones

#402b71, #3f2e6c, #3f3067, #3e3261, #3d345c, #3d3557, #3c3752, #3c384c, #3c3947, #3c3a41

## Harmonies

- Complementary: #402b71, #3c4000
- Split: #402b71, #523600, #014a07
- Analogous: #402b71, #1a3777, #57215d
- Triadic: #402b71, #662500, #004a37
- Tetradic: #402b71, #661940, #3c4000, #004a37
- Square: #402b71, #6b191c, #3c4000, #00474e
- Monochromatic: #402b71, #0a0024, #23074d, #604d96, #8270bd

## Questions about #402b71

### What color is #402b71?

#402b71 is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 43, 113), in HSL hsl(258, 44.87%, 30.59%) and in OKLCH oklch(35.388% 0.11565 293.435).

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

The complementary color of #402b71 is #3c4000. For a calmer combination use the analogous colors #1a3777 and #57215d. The triadic partners are #662500 and #004a37.

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

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

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

#402b71 is a cool color. In OKLCH its hue is 293 degrees, its lightness 35.4% and its chroma 0.116.
