# #402c6b color: Her Highness

#402c6b is rgb(64, 44, 107) in RGB and oklch(35.111% 0.10557 295.038) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402c6b |
| RGB | rgb(64, 44, 107) |
| HSL | hsl(259.05, 41.72%, 29.61%) |
| HSB / HSV | hsv(259.05 58.88% 41.96%) |
| HWB | hwb(259.05 17.25% 58.04%) |
| CMYK | cmyk(40% 59% 0% 58%) |
| Lab | lab(23.13 21.57 -34.13) |
| LCH | lch(23.13 40.38 302.28) |
| OKLab | oklab(35.111% 0.04468 -0.09565) |
| OKLCH | oklch(35.111% 0.10557 295.038) |
| Display P3 | color(display-p3 0.23915 0.17578 0.40524) |
| Rec. 2020 | color(rec2020 0.17794 0.12197 0.34675) |
| Adobe RGB | color(a98-rgb 0.24124 0.1875 0.41168) |
| ProPhoto RGB | color(prophoto-rgb 0.20186 0.14564 0.3234) |
| Linear sRGB | color(srgb-linear 0.05127 0.02519 0.14703) |
| XYZ D65 | color(xyz-d65 0.05669 0.03953 0.14375) |
| XYZ D50 | color(xyz-d50 0.05309 0.03838 0.10815) |
| SwiftUI | Color(red: 0.251, green: 0.173, blue: 0.42) |
| UIKit | UIColor(red: 0.251, green: 0.173, blue: 0.42, alpha: 1) |
| Flutter / Compose | Color(0xFF402C6B) |
| Android XML | #402C6B |

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

## Tints

#402c6b, #50407a, #615488, #736897, #867ca6, #9991b5, #aca6c3, #c0bcd2, #d5d2e1, #eae8f0

## Shades

#402c6b, #36255c, #2d1e4e, #24173f, #1b1132, #130a25, #0b0518, #05020d, #010104, #000000

## Tones

#402c6b, #3f2e66, #3f3062, #3e325d, #3d3458, #3d3554, #3c364f, #3c384a, #3b3945, #3b3a40

## Harmonies

- Complementary: #402c6b, #3a4000
- Split: #402c6b, #503500, #064811
- Analogous: #402c6b, #1f3671, #552358
- Triadic: #402c6b, #622700, #004938
- Tetradic: #402c6b, #621d3d, #3a4000, #004938
- Square: #402c6b, #671e1d, #3a4000, #00464e
- Monochromatic: #402c6b, #0b0023, #230a48, #604d90, #8270b6

## Questions about #402c6b

### What color is #402c6b?

#402c6b is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 44, 107), in HSL hsl(259.05, 41.72%, 29.61%) and in OKLCH oklch(35.111% 0.10557 295.038).

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

The complementary color of #402c6b is #3a4000. For a calmer combination use the analogous colors #1f3671 and #552358. The triadic partners are #622700 and #004938.

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

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

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

#402c6b is a cool color. In OKLCH its hue is 295 degrees, its lightness 35.1% and its chroma 0.106.
