# #402a70 color: Her Highness

#402a70 is rgb(64, 42, 112) in RGB and oklch(35.135% 0.11582 294.117) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402a70 |
| RGB | rgb(64, 42, 112) |
| HSL | hsl(258.86, 45.45%, 30.2%) |
| HSB / HSV | hsv(258.86 62.5% 43.92%) |
| HWB | hwb(258.86 16.47% 56.08%) |
| CMYK | cmyk(43% 63% 0% 56%) |
| Lab | lab(22.94 23.99 -37.65) |
| LCH | lch(22.94 44.64 302.5) |
| OKLab | oklab(35.135% 0.04732 -0.10571) |
| OKLCH | oklch(35.135% 0.11582 294.117) |
| Display P3 | color(display-p3 0.2382 0.16835 0.42369) |
| Rec. 2020 | color(rec2020 0.17788 0.11591 0.36599) |
| Adobe RGB | color(a98-rgb 0.23978 0.18046 0.43004) |
| ProPhoto RGB | color(prophoto-rgb 0.20472 0.1421 0.3405) |
| Linear sRGB | color(srgb-linear 0.05127 0.02315 0.16203) |
| XYZ D65 | color(xyz-d65 0.05867 0.03916 0.15776) |
| XYZ D50 | color(xyz-d50 0.05446 0.03783 0.11867) |
| SwiftUI | Color(red: 0.251, green: 0.165, blue: 0.439) |
| UIKit | UIColor(red: 0.251, green: 0.165, blue: 0.439, alpha: 1) |
| Flutter / Compose | Color(0xFF402A70) |
| Android XML | #402A70 |

## 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.78:1
- Contrast with black: 1.78:1

## Tints

#402a70, #503e7e, #61538d, #73679b, #857ca9, #9891b8, #aca6c6, #c0bcd4, #d5d2e3, #eae8f1

## Shades

#402a70, #362360, #2d1c51, #241643, #1b1035, #130a27, #0b051a, #05020e, #010104, #000001

## Tones

#402a70, #3f2d6b, #3e2f66, #3e3161, #3d335b, #3d3556, #3c3651, #3c374b, #3b3946, #3b3a40

## Harmonies

- Complementary: #402a70, #3b4000
- Split: #402a70, #513500, #004907
- Analogous: #402a70, #1a3676, #57205c
- Triadic: #402a70, #642500, #004937
- Tetradic: #402a70, #65183f, #3b4000, #004937
- Square: #402a70, #6b181a, #3b4000, #00464e
- Monochromatic: #402a70, #0a0024, #23064c, #604c95, #826fbb

## Questions about #402a70

### What color is #402a70?

#402a70 is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 42, 112), in HSL hsl(258.86, 45.45%, 30.2%) and in OKLCH oklch(35.135% 0.11582 294.117).

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

The complementary color of #402a70 is #3b4000. For a calmer combination use the analogous colors #1a3676 and #57205c. The triadic partners are #642500 and #004937.

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

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

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

#402a70 is a cool color. In OKLCH its hue is 294 degrees, its lightness 35.1% and its chroma 0.116.
