# #402870 color: Her Highness

#402870 is rgb(64, 40, 112) in RGB and oklch(34.792% 0.11891 294.806) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402870 |
| RGB | rgb(64, 40, 112) |
| HSL | hsl(260, 47.37%, 29.8%) |
| HSB / HSV | hsv(260 64.29% 43.92%) |
| HWB | hwb(260 15.69% 56.08%) |
| CMYK | cmyk(43% 64% 0% 56%) |
| Lab | lab(22.46 25.18 -38.42) |
| LCH | lch(22.46 45.94 303.24) |
| OKLab | oklab(34.792% 0.04989 -0.10794) |
| OKLCH | oklch(34.792% 0.11891 294.806) |
| Display P3 | color(display-p3 0.23729 0.16096 0.42351) |
| Rec. 2020 | color(rec2020 0.17618 0.10933 0.36575) |
| Adobe RGB | color(a98-rgb 0.23839 0.17344 0.42994) |
| ProPhoto RGB | color(prophoto-rgb 0.20346 0.13757 0.3402) |
| Linear sRGB | color(srgb-linear 0.05127 0.02122 0.16203) |
| XYZ D65 | color(xyz-d65 0.05797 0.03777 0.15753) |
| XYZ D50 | color(xyz-d50 0.05371 0.03644 0.11848) |
| SwiftUI | Color(red: 0.251, green: 0.157, blue: 0.439) |
| UIKit | UIColor(red: 0.251, green: 0.157, blue: 0.439, alpha: 1) |
| Flutter / Compose | Color(0xFF402870) |
| Android XML | #402870 |

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

## Tints

#402870, #503d7f, #61518d, #73669b, #857baa, #9890b8, #aca5c6, #c0bbd4, #d5d1e3, #eae8f1

## Shades

#402870, #362160, #2d1b51, #241543, #1b0f35, #130927, #0b041a, #05020e, #010104, #000001

## Tones

#402870, #3f2b6b, #3e2d66, #3d3060, #3d325b, #3c3356, #3c3550, #3b364b, #3b3845, #3a3940

## Harmonies

- Complementary: #402870, #393f00
- Split: #402870, #4f3500, #004905
- Analogous: #402870, #1a3477, #571d5b
- Triadic: #402870, #622500, #004837
- Tetradic: #402870, #65153d, #393f00, #004837
- Square: #402870, #6b1517, #393f00, #00454d
- Monochromatic: #402870, #0a0023, #23034c, #604a95, #826dbc

## Questions about #402870

### What color is #402870?

#402870 is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 40, 112), in HSL hsl(260, 47.37%, 29.8%) and in OKLCH oklch(34.792% 0.11891 294.806).

### What colors go well with #402870?

The complementary color of #402870 is #393f00. For a calmer combination use the analogous colors #1a3477 and #571d5b. The triadic partners are #622500 and #004837.

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

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

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

#402870 is a cool color. In OKLCH its hue is 295 degrees, its lightness 34.8% and its chroma 0.119.
