# #402f72 color: Her Highness

#402f72 is rgb(64, 47, 114) in RGB and oklch(36.187% 0.11076 291.581) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402f72 |
| RGB | rgb(64, 47, 114) |
| HSL | hsl(255.22, 41.61%, 31.57%) |
| HSB / HSV | hsv(255.22 58.77% 44.71%) |
| HWB | hwb(255.22 18.43% 55.29%) |
| CMYK | cmyk(44% 59% 0% 55%) |
| Lab | lab(24.32 21.42 -36.72) |
| LCH | lch(24.32 42.51 300.26) |
| OKLab | oklab(36.187% 0.04074 -0.10299) |
| OKLCH | oklch(36.187% 0.11076 291.581) |
| Display P3 | color(display-p3 0.24065 0.18695 0.43166) |
| Rec. 2020 | color(rec2020 0.18317 0.13294 0.37446) |
| Adobe RGB | color(a98-rgb 0.24353 0.1981 0.43771) |
| ProPhoto RGB | color(prophoto-rgb 0.20984 0.15433 0.34835) |
| Linear sRGB | color(srgb-linear 0.05127 0.02843 0.16827) |
| XYZ D65 | color(xyz-d65 0.06168 0.04338 0.16432) |
| XYZ D50 | color(xyz-d50 0.05738 0.04199 0.12363) |
| SwiftUI | Color(red: 0.251, green: 0.184, blue: 0.447) |
| UIKit | UIColor(red: 0.251, green: 0.184, blue: 0.447, alpha: 1) |
| Flutter / Compose | Color(0xFF402F72) |
| Android XML | #402F72 |

## 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.24:1
- Contrast with black: 1.87:1

## Tints

#402f72, #504380, #61568e, #736a9d, #857eab, #9893b9, #aca8c7, #c0bdd5, #d5d3e3, #eae9f1

## Shades

#402f72, #362762, #2d2053, #241944, #1b1236, #130c28, #0b061b, #05030e, #010104, #000001

## Tones

#402f72, #3f316d, #3f3368, #3f3563, #3e375e, #3e3858, #3e3953, #3e3b4e, #3d3c49, #3d3d43

## Harmonies

- Complementary: #402f72, #404100
- Split: #402f72, #563700, #114b0a
- Analogous: #402f72, #1a3a77, #572560
- Triadic: #402f72, #682700, #004c37
- Tetradic: #402f72, #661e44, #404100, #004c37
- Square: #402f72, #6c1e22, #404100, #00494f
- Monochromatic: #402f72, #0a0025, #230d4e, #605197, #8274bd

## Questions about #402f72

### What color is #402f72?

#402f72 is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 47, 114), in HSL hsl(255.22, 41.61%, 31.57%) and in OKLCH oklch(36.187% 0.11076 291.581).

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

The complementary color of #402f72 is #404100. For a calmer combination use the analogous colors #1a3a77 and #572560. The triadic partners are #682700 and #004c37.

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

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

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

#402f72 is a cool color. In OKLCH its hue is 292 degrees, its lightness 36.2% and its chroma 0.111.
