# #403170 color: Her Highness

#403170 is rgb(64, 49, 112) in RGB and oklch(36.414% 0.10463 291.284) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #403170 |
| RGB | rgb(64, 49, 112) |
| HSL | hsl(254.29, 39.13%, 31.57%) |
| HSB / HSV | hsv(254.29 56.25% 43.92%) |
| HWB | hwb(254.29 19.22% 56.08%) |
| CMYK | cmyk(43% 56% 0% 56%) |
| Lab | lab(24.72 19.69 -34.8) |
| LCH | lch(24.72 39.98 299.5) |
| OKLab | oklab(36.414% 0.03798 -0.09749) |
| OKLCH | oklch(36.414% 0.10463 291.284) |
| Display P3 | color(display-p3 0.24171 0.19443 0.42442) |
| Rec. 2020 | color(rec2020 0.18442 0.13955 0.36693) |
| Adobe RGB | color(a98-rgb 0.24514 0.2052 0.43042) |
| ProPhoto RGB | color(prophoto-rgb 0.20961 0.15879 0.34167) |
| Linear sRGB | color(srgb-linear 0.05127 0.03071 0.16203) |
| XYZ D65 | color(xyz-d65 0.06137 0.04456 0.15867) |
| XYZ D50 | color(xyz-d50 0.05737 0.04325 0.1194) |
| SwiftUI | Color(red: 0.251, green: 0.192, blue: 0.439) |
| UIKit | UIColor(red: 0.251, green: 0.192, blue: 0.439, alpha: 1) |
| Flutter / Compose | Color(0xFF403170) |
| Android XML | #403170 |

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

## Tints

#403170, #50447e, #61588d, #736b9b, #867fa9, #9994b7, #aca8c6, #c0bed4, #d5d3e2, #eae9f1

## Shades

#403170, #362960, #2d2251, #241a43, #1b1335, #130c27, #0b061a, #05030e, #010104, #000001

## Tones

#403170, #40336b, #3f3566, #3f3662, #3f385d, #3e3958, #3e3a53, #3e3b4e, #3e3c49, #3e3d43

## Harmonies

- Complementary: #403170, #414200
- Split: #403170, #573700, #174b0f
- Analogous: #403170, #1c3b74, #56285f
- Triadic: #403170, #672900, #004d38
- Tetradic: #403170, #652245, #414200, #004d38
- Square: #403170, #6b2125, #414200, #004a50
- Monochromatic: #403170, #0a0027, #23104d, #605295, #8275bb

## Questions about #403170

### What color is #403170?

#403170 is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 49, 112), in HSL hsl(254.29, 39.13%, 31.57%) and in OKLCH oklch(36.414% 0.10463 291.284).

### What colors go well with #403170?

The complementary color of #403170 is #414200. For a calmer combination use the analogous colors #1c3b74 and #56285f. The triadic partners are #672900 and #004d38.

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

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

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

#403170 is a cool color. In OKLCH its hue is 291 degrees, its lightness 36.4% and its chroma 0.105.
