# #402e74 color: Her Highness

#402e74 is rgb(64, 46, 116) in RGB and oklch(36.156% 0.11519 291.411) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402e74 |
| RGB | rgb(64, 46, 116) |
| HSL | hsl(255.43, 43.21%, 31.76%) |
| HSB / HSV | hsv(255.43 60.34% 45.49%) |
| HWB | hwb(255.43 18.04% 54.51%) |
| CMYK | cmyk(45% 60% 0% 55%) |
| Lab | lab(24.19 22.53 -38.2) |
| LCH | lch(24.19 44.35 300.54) |
| OKLab | oklab(36.156% 0.04205 -0.10724) |
| OKLCH | oklch(36.156% 0.11519 291.411) |
| Display P3 | color(display-p3 0.24014 0.18322 0.43902) |
| Rec. 2020 | color(rec2020 0.18294 0.12979 0.38215) |
| Adobe RGB | color(a98-rgb 0.24275 0.19456 0.44507) |
| ProPhoto RGB | color(prophoto-rgb 0.21087 0.15238 0.35526) |
| Linear sRGB | color(srgb-linear 0.05127 0.02732 0.17465) |
| XYZ D65 | color(xyz-d65 0.06243 0.04305 0.17026) |
| XYZ D50 | color(xyz-d50 0.05787 0.04158 0.12808) |
| SwiftUI | Color(red: 0.251, green: 0.18, blue: 0.455) |
| UIKit | UIColor(red: 0.251, green: 0.18, blue: 0.455, alpha: 1) |
| Flutter / Compose | Color(0xFF402E74) |
| Android XML | #402E74 |

## 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.28:1
- Contrast with black: 1.86:1

## Tints

#402e74, #504282, #615690, #736a9e, #857eac, #9893ba, #aca8c8, #c0bdd6, #d5d3e3, #eae9f1

## Shades

#402e74, #362764, #2d1f54, #241845, #1b1237, #130b29, #0b061b, #05020f, #010105, #000001

## Tones

#402e74, #3f306f, #3f3369, #3e3564, #3e365f, #3e3859, #3e3954, #3d3a4f, #3d3c49, #3d3d43

## Harmonies

- Complementary: #402e74, #404100
- Split: #402e74, #563700, #0e4b05
- Analogous: #402e74, #183a79, #582461
- Triadic: #402e74, #6a2500, #004c37
- Tetradic: #402e74, #671c44, #404100, #004c37
- Square: #402e74, #6e1b21, #404100, #00494f
- Monochromatic: #402e74, #0a0025, #240b50, #605099, #8273c0

## Questions about #402e74

### What color is #402e74?

#402e74 is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 46, 116), in HSL hsl(255.43, 43.21%, 31.76%) and in OKLCH oklch(36.156% 0.11519 291.411).

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

The complementary color of #402e74 is #404100. For a calmer combination use the analogous colors #183a79 and #582461. The triadic partners are #6a2500 and #004c37.

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

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

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

#402e74 is a cool color. In OKLCH its hue is 291 degrees, its lightness 36.2% and its chroma 0.115.
