# #402a6a color: Her Highness

#402a6a is rgb(64, 42, 106) in RGB and oklch(34.674% 0.10744 296.193) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402a6a |
| RGB | rgb(64, 42, 106) |
| HSL | hsl(260.63, 43.24%, 29.02%) |
| HSB / HSV | hsv(260.63 60.38% 41.57%) |
| HWB | hwb(260.63 16.47% 58.43%) |
| CMYK | cmyk(40% 60% 0% 58%) |
| Lab | lab(22.56 22.55 -34.39) |
| LCH | lch(22.56 41.12 303.26) |
| OKLab | oklab(34.674% 0.04742 -0.0964) |
| OKLCH | oklch(34.674% 0.10744 296.193) |
| Display P3 | color(display-p3 0.2382 0.16835 0.4013) |
| Rec. 2020 | color(rec2020 0.17581 0.11517 0.34259) |
| Adobe RGB | color(a98-rgb 0.23978 0.18046 0.40788) |
| ProPhoto RGB | color(prophoto-rgb 0.1997 0.14076 0.31961) |
| Linear sRGB | color(srgb-linear 0.05127 0.02315 0.14413) |
| XYZ D65 | color(xyz-d65 0.05543 0.03787 0.14075) |
| XYZ D50 | color(xyz-d50 0.0519 0.03674 0.10588) |
| SwiftUI | Color(red: 0.251, green: 0.165, blue: 0.416) |
| UIKit | UIColor(red: 0.251, green: 0.165, blue: 0.416, alpha: 1) |
| Flutter / Compose | Color(0xFF402A6A) |
| Android XML | #402A6A |

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

## Tints

#402a6a, #503e79, #615288, #736696, #867ba5, #9990b4, #aca5c3, #c0bbd2, #d5d1e1, #eae8f0

## Shades

#402a6a, #36235b, #2d1c4d, #24163f, #1b1031, #130a24, #0b0518, #05020d, #010104, #000000

## Tones

#402a6a, #3f2c65, #3e2e61, #3e305c, #3d3257, #3c3452, #3c354e, #3b3649, #3a3844, #3a393f

## Harmonies

- Complementary: #402a6a, #383f00
- Split: #402a6a, #4e3500, #004711
- Analogous: #402a6a, #1f3571, #552157
- Triadic: #402a6a, #612600, #004738
- Tetradic: #402a6a, #621b3b, #383f00, #004738
- Square: #402a6a, #661c19, #383f00, #00444e
- Monochromatic: #402a6a, #0b0023, #230747, #604b8f, #826eb5

## Questions about #402a6a

### What color is #402a6a?

#402a6a is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 42, 106), in HSL hsl(260.63, 43.24%, 29.02%) and in OKLCH oklch(34.674% 0.10744 296.193).

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

The complementary color of #402a6a is #383f00. For a calmer combination use the analogous colors #1f3571 and #552157. The triadic partners are #612600 and #004738.

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

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

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

#402a6a is a cool color. In OKLCH its hue is 296 degrees, its lightness 34.7% and its chroma 0.107.
