# #402f75 color: Her Highness

#402f75 is rgb(64, 47, 117) in RGB and oklch(36.415% 0.11506 290.745) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402f75 |
| RGB | rgb(64, 47, 117) |
| HSL | hsl(254.57, 42.68%, 32.16%) |
| HSB / HSV | hsv(254.57 59.83% 45.88%) |
| HWB | hwb(254.57 18.43% 54.12%) |
| CMYK | cmyk(45% 60% 0% 54%) |
| Lab | lab(24.5 22.17 -38.33) |
| LCH | lch(24.5 44.28 300.05) |
| OKLab | oklab(36.415% 0.04075 -0.1076) |
| OKLCH | oklch(36.415% 0.11506 290.745) |
| Display P3 | color(display-p3 0.24065 0.18695 0.44285) |
| Rec. 2020 | color(rec2020 0.18425 0.1333 0.3862) |
| Adobe RGB | color(a98-rgb 0.24353 0.1981 0.44883) |
| ProPhoto RGB | color(prophoto-rgb 0.21245 0.155 0.35897) |
| Linear sRGB | color(srgb-linear 0.05127 0.02843 0.17789) |
| XYZ D65 | color(xyz-d65 0.06341 0.04407 0.17347) |
| XYZ D50 | color(xyz-d50 0.05876 0.04257 0.1305) |
| SwiftUI | Color(red: 0.251, green: 0.184, blue: 0.459) |
| UIKit | UIColor(red: 0.251, green: 0.184, blue: 0.459, alpha: 1) |
| Flutter / Compose | Color(0xFF402F75) |
| Android XML | #402F75 |

## 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.16:1
- Contrast with black: 1.88:1

## Tints

#402f75, #504383, #615791, #736b9f, #857fad, #9893ba, #aca8c8, #c0bdd6, #d5d3e4, #eae9f1

## Shades

#402f75, #362765, #2d2055, #241946, #1b1237, #130c29, #0b061c, #05030f, #010105, #000001

## Tones

#402f75, #3f3170, #3f346a, #3f3565, #3e3760, #3e395a, #3e3a55, #3e3b4f, #3e3c4a, #3e3d44

## Harmonies

- Complementary: #402f75, #414200
- Split: #402f75, #573700, #114c04
- Analogous: #402f75, #173b7a, #582562
- Triadic: #402f75, #6b2500, #004d37
- Tetradic: #402f75, #681d46, #414200, #004d37
- Square: #402f75, #6e1c23, #414200, #004a4f
- Monochromatic: #402f75, #0a0027, #240c51, #60519a, #8274c1

## Questions about #402f75

### What color is #402f75?

#402f75 is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 47, 117), in HSL hsl(254.57, 42.68%, 32.16%) and in OKLCH oklch(36.415% 0.11506 290.745).

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

The complementary color of #402f75 is #414200. For a calmer combination use the analogous colors #173b7a and #582562. The triadic partners are #6b2500 and #004d37.

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

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

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

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