# #402a6d color: Her Highness

#402a6d is rgb(64, 42, 109) in RGB and oklch(34.902% 0.11164 295.124) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402a6d |
| RGB | rgb(64, 42, 109) |
| HSL | hsl(259.7, 44.37%, 29.61%) |
| HSB / HSV | hsv(259.7 61.47% 42.75%) |
| HWB | hwb(259.7 16.47% 57.25%) |
| CMYK | cmyk(41% 61% 0% 57%) |
| Lab | lab(22.75 23.27 -36.03) |
| LCH | lch(22.75 42.89 302.85) |
| OKLab | oklab(34.902% 0.0474 -0.10108) |
| OKLCH | oklch(34.902% 0.11164 295.124) |
| Display P3 | color(display-p3 0.2382 0.16835 0.4125) |
| Rec. 2020 | color(rec2020 0.17683 0.11553 0.35428) |
| Adobe RGB | color(a98-rgb 0.23978 0.18046 0.41894) |
| ProPhoto RGB | color(prophoto-rgb 0.20218 0.14142 0.33001) |
| Linear sRGB | color(srgb-linear 0.05127 0.02315 0.15293) |
| XYZ D65 | color(xyz-d65 0.05702 0.0385 0.14911) |
| XYZ D50 | color(xyz-d50 0.05315 0.03728 0.11217) |
| SwiftUI | Color(red: 0.251, green: 0.165, blue: 0.427) |
| UIKit | UIColor(red: 0.251, green: 0.165, blue: 0.427, alpha: 1) |
| Flutter / Compose | Color(0xFF402A6D) |
| Android XML | #402A6D |

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

## Tints

#402a6d, #503e7c, #61528a, #736799, #867ba7, #9990b6, #aca6c5, #c0bbd3, #d5d2e2, #eae8f0

## Shades

#402a6d, #36235e, #2d1c4f, #241641, #1b1033, #130a26, #0b0519, #05020d, #010104, #000001

## Tones

#402a6d, #3f2d68, #3e2f63, #3e315e, #3d3359, #3c3454, #3c364f, #3b374a, #3b3845, #3a3940

## Harmonies

- Complementary: #402a6d, #393f00
- Split: #402a6d, #4f3500, #00480d
- Analogous: #402a6d, #1d3574, #562059
- Triadic: #402a6d, #632500, #004838
- Tetradic: #402a6d, #64193d, #393f00, #004838
- Square: #402a6d, #691a1a, #393f00, #00454e
- Monochromatic: #402a6d, #0b0023, #23074a, #604c92, #826eb8

## Questions about #402a6d

### What color is #402a6d?

#402a6d is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 42, 109), in HSL hsl(259.7, 44.37%, 29.61%) and in OKLCH oklch(34.902% 0.11164 295.124).

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

The complementary color of #402a6d is #393f00. For a calmer combination use the analogous colors #1d3574 and #562059. The triadic partners are #632500 and #004838.

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

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

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

#402a6d is a cool color. In OKLCH its hue is 295 degrees, its lightness 34.9% and its chroma 0.112.
