# #402c6d color: Her Highness

#402c6d is rgb(64, 44, 109) in RGB and oklch(35.26% 0.10842 294.354) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402c6d |
| RGB | rgb(64, 44, 109) |
| HSL | hsl(258.46, 42.48%, 30%) |
| HSB / HSV | hsv(258.46 59.63% 42.75%) |
| HWB | hwb(258.46 17.25% 57.25%) |
| CMYK | cmyk(41% 60% 0% 57%) |
| Lab | lab(23.25 22.05 -35.23) |
| LCH | lch(23.25 41.56 302.04) |
| OKLab | oklab(35.26% 0.04471 -0.09877) |
| OKLCH | oklch(35.26% 0.10842 294.354) |
| Display P3 | color(display-p3 0.23915 0.17578 0.4127) |
| Rec. 2020 | color(rec2020 0.17862 0.12221 0.35454) |
| Adobe RGB | color(a98-rgb 0.24124 0.1875 0.41905) |
| ProPhoto RGB | color(prophoto-rgb 0.20352 0.14608 0.33033) |
| Linear sRGB | color(srgb-linear 0.05127 0.02519 0.15293) |
| XYZ D65 | color(xyz-d65 0.05775 0.03995 0.14935) |
| XYZ D50 | color(xyz-d50 0.05394 0.03873 0.11236) |
| SwiftUI | Color(red: 0.251, green: 0.173, blue: 0.427) |
| UIKit | UIColor(red: 0.251, green: 0.173, blue: 0.427, alpha: 1) |
| Flutter / Compose | Color(0xFF402C6D) |
| Android XML | #402C6D |

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

## Tints

#402c6d, #50407c, #61548a, #736899, #867ca7, #9991b6, #aca6c4, #c0bcd3, #d5d2e2, #eae8f0

## Shades

#402c6d, #36255e, #2d1e4f, #241741, #1b1133, #130a26, #0b0519, #05020d, #010104, #000001

## Tones

#402c6d, #3f2e68, #3f3063, #3e325f, #3d345a, #3d3555, #3c3750, #3c384b, #3c3946, #3b3a40

## Harmonies

- Complementary: #402c6d, #3b4000
- Split: #402c6d, #513600, #06490f
- Analogous: #402c6d, #1d3773, #56235a
- Triadic: #402c6d, #642600, #004938
- Tetradic: #402c6d, #631c3f, #3b4000, #004938
- Square: #402c6d, #681c1d, #3b4000, #00464e
- Monochromatic: #402c6d, #0a0023, #23094a, #604d92, #8270b8

## Questions about #402c6d

### What color is #402c6d?

#402c6d is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 44, 109), in HSL hsl(258.46, 42.48%, 30%) and in OKLCH oklch(35.26% 0.10842 294.354).

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

The complementary color of #402c6d is #3b4000. For a calmer combination use the analogous colors #1d3773 and #56235a. The triadic partners are #642600 and #004938.

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

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

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

#402c6d is a cool color. In OKLCH its hue is 294 degrees, its lightness 35.3% and its chroma 0.108.
