# #402971 color: Her Highness

#402971 is rgb(64, 41, 113) in RGB and oklch(35.042% 0.11874 294.139) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/402971

## Formats

| Format | Value |
| --- | --- |
| HEX | #402971 |
| RGB | rgb(64, 41, 113) |
| HSL | hsl(259.17, 46.75%, 30.2%) |
| HSB / HSV | hsv(259.17 63.72% 44.31%) |
| HWB | hwb(259.17 16.08% 55.69%) |
| CMYK | cmyk(43% 64% 0% 56%) |
| Lab | lab(22.76 24.83 -38.57) |
| LCH | lch(22.76 45.87 302.77) |
| OKLab | oklab(35.042% 0.04856 -0.10836) |
| OKLCH | oklch(35.042% 0.11874 294.139) |
| Display P3 | color(display-p3 0.23774 0.16465 0.42733) |
| Rec. 2020 | color(rec2020 0.17738 0.11274 0.36978) |
| Adobe RGB | color(a98-rgb 0.23908 0.17695 0.43369) |
| ProPhoto RGB | color(prophoto-rgb 0.20494 0.14005 0.34387) |
| Linear sRGB | color(srgb-linear 0.05127 0.02217 0.16513) |
| XYZ D65 | color(xyz-d65 0.05888 0.03868 0.1606) |
| XYZ D50 | color(xyz-d50 0.05452 0.03731 0.12079) |
| SwiftUI | Color(red: 0.251, green: 0.161, blue: 0.443) |
| UIKit | UIColor(red: 0.251, green: 0.161, blue: 0.443, alpha: 1) |
| Flutter / Compose | Color(0xFF402971) |
| Android XML | #402971 |

## 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.84:1
- Contrast with black: 1.77:1

## Tints

#402971, #503e7f, #61528e, #73669c, #857baa, #9890b8, #aca6c7, #c0bbd5, #d5d2e3, #eae8f1

## Shades

#402971, #362261, #2d1c52, #241543, #1b0f35, #130927, #0b051a, #05020e, #010104, #000001

## Tones

#402971, #3f2c6c, #3e2e66, #3e3061, #3d325c, #3c3457, #3c3651, #3b374c, #3b3846, #3b3a40

## Harmonies

- Complementary: #402971, #3b3f00
- Split: #402971, #503500, #004905
- Analogous: #402971, #193577, #571e5d
- Triadic: #402971, #642500, #004937
- Tetradic: #402971, #66163f, #3b3f00, #004937
- Square: #402971, #6b1619, #3b3f00, #00464e
- Monochromatic: #402971, #0a0024, #23044d, #604b96, #826ebd

## Questions about #402971

### What color is #402971?

#402971 is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 41, 113), in HSL hsl(259.17, 46.75%, 30.2%) and in OKLCH oklch(35.042% 0.11874 294.139).

### What colors go well with #402971?

The complementary color of #402971 is #3b3f00. For a calmer combination use the analogous colors #193577 and #571e5d. The triadic partners are #642500 and #004937.

### Is white or black text more readable on #402971?

White text reads better on #402971: white gives a contrast ratio of 11.84:1 and black gives 1.77:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #402971 a warm or cool color?

#402971 is a cool color. In OKLCH its hue is 294 degrees, its lightness 35% and its chroma 0.119.
