# #402d70 color: Her Highness

#402d70 is rgb(64, 45, 112) in RGB and oklch(35.669% 0.11108 292.987) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402d70 |
| RGB | rgb(64, 45, 112) |
| HSL | hsl(257.01, 42.68%, 30.78%) |
| HSB / HSV | hsv(257.01 59.82% 43.92%) |
| HWB | hwb(257.01 17.65% 56.08%) |
| CMYK | cmyk(43% 60% 0% 56%) |
| Lab | lab(23.69 22.16 -36.45) |
| LCH | lch(23.69 42.66 301.3) |
| OKLab | oklab(35.669% 0.04338 -0.10226) |
| OKLCH | oklch(35.669% 0.11108 292.987) |
| Display P3 | color(display-p3 0.23964 0.1795 0.42399) |
| Rec. 2020 | color(rec2020 0.18058 0.12593 0.36637) |
| Adobe RGB | color(a98-rgb 0.24199 0.19103 0.43019) |
| ProPhoto RGB | color(prophoto-rgb 0.20673 0.1491 0.34098) |
| Linear sRGB | color(srgb-linear 0.05127 0.02624 0.16203) |
| XYZ D65 | color(xyz-d65 0.05977 0.04137 0.15813) |
| XYZ D50 | color(xyz-d50 0.05565 0.04004 0.11897) |
| SwiftUI | Color(red: 0.251, green: 0.176, blue: 0.439) |
| UIKit | UIColor(red: 0.251, green: 0.176, blue: 0.439, alpha: 1) |
| Flutter / Compose | Color(0xFF402D70) |
| Android XML | #402D70 |

## 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.49:1
- Contrast with black: 1.83:1

## Tints

#402d70, #50417e, #61558d, #73699b, #857da9, #9992b8, #aca7c6, #c0bcd4, #d5d2e2, #eae8f1

## Shades

#402d70, #362660, #2d1f51, #241843, #1b1135, #130b27, #0b061a, #05020e, #010104, #000001

## Tones

#402d70, #3f2f6b, #3f3166, #3e3361, #3e355c, #3d3757, #3d3852, #3d394c, #3c3a47, #3c3b42

## Harmonies

- Complementary: #402d70, #3d4100
- Split: #402d70, #533600, #0a4a0b
- Analogous: #402d70, #1b3875, #57235d
- Triadic: #402d70, #662600, #004b38
- Tetradic: #402d70, #651c41, #3d4100, #004b38
- Square: #402d70, #6b1c1f, #3d4100, #00484f
- Monochromatic: #402d70, #0a0024, #230a4d, #604f95, #8272bb

## Questions about #402d70

### What color is #402d70?

#402d70 is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 45, 112), in HSL hsl(257.01, 42.68%, 30.78%) and in OKLCH oklch(35.669% 0.11108 292.987).

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

The complementary color of #402d70 is #3d4100. For a calmer combination use the analogous colors #1b3875 and #57235d. The triadic partners are #662600 and #004b38.

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

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

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

#402d70 is a cool color. In OKLCH its hue is 293 degrees, its lightness 35.7% and its chroma 0.111.
