# #402c71 color: Her Highness

#402c71 is rgb(64, 44, 113) in RGB and oklch(35.565% 0.11408 293.064) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402c71 |
| RGB | rgb(64, 44, 113) |
| HSL | hsl(257.39, 43.95%, 30.78%) |
| HSB / HSV | hsv(257.39 61.06% 44.31%) |
| HWB | hwb(257.39 17.25% 55.69%) |
| CMYK | cmyk(43% 61% 0% 56%) |
| Lab | lab(23.5 23.02 -37.39) |
| LCH | lch(23.5 43.91 301.61) |
| OKLab | oklab(35.565% 0.04469 -0.10496) |
| OKLCH | oklch(35.565% 0.11408 293.064) |
| Display P3 | color(display-p3 0.23915 0.17578 0.42762) |
| Rec. 2020 | color(rec2020 0.18002 0.1227 0.37015) |
| Adobe RGB | color(a98-rgb 0.24124 0.1875 0.43384) |
| ProPhoto RGB | color(prophoto-rgb 0.2069 0.14696 0.34433) |
| Linear sRGB | color(srgb-linear 0.05127 0.02519 0.16513) |
| XYZ D65 | color(xyz-d65 0.05995 0.04084 0.16096) |
| XYZ D50 | color(xyz-d50 0.05568 0.03947 0.12108) |
| SwiftUI | Color(red: 0.251, green: 0.173, blue: 0.443) |
| UIKit | UIColor(red: 0.251, green: 0.173, blue: 0.443, alpha: 1) |
| Flutter / Compose | Color(0xFF402C71) |
| Android XML | #402C71 |

## 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.56:1
- Contrast with black: 1.82:1

## Tints

#402c71, #50407f, #61548e, #73689c, #857daa, #9891b8, #aca7c6, #c0bcd5, #d5d2e3, #eae8f1

## Shades

#402c71, #362561, #2d1e52, #241743, #1b1135, #130a27, #0b051a, #05020e, #010104, #000001

## Tones

#402c71, #3f2e6c, #3f3167, #3e3362, #3e345c, #3d3657, #3d3752, #3c394d, #3c3a47, #3c3b42

## Harmonies

- Complementary: #402c71, #3d4000
- Split: #402c71, #533600, #054a08
- Analogous: #402c71, #1a3877, #57225e
- Triadic: #402c71, #672500, #004a37
- Tetradic: #402c71, #661b41, #3d4000, #004a37
- Square: #402c71, #6b1a1e, #3d4000, #00474e
- Monochromatic: #402c71, #0a0024, #23084d, #604e96, #8271bc

## Questions about #402c71

### What color is #402c71?

#402c71 is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 44, 113), in HSL hsl(257.39, 43.95%, 30.78%) and in OKLCH oklch(35.565% 0.11408 293.064).

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

The complementary color of #402c71 is #3d4000. For a calmer combination use the analogous colors #1a3877 and #57225e. The triadic partners are #672500 and #004a37.

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

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

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

#402c71 is a cool color. In OKLCH its hue is 293 degrees, its lightness 35.6% and its chroma 0.114.
