# #402c6a color: Her Highness

#402c6a is rgb(64, 44, 106) in RGB and oklch(35.037% 0.10414 295.391) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402c6a |
| RGB | rgb(64, 44, 106) |
| HSL | hsl(259.35, 41.33%, 29.41%) |
| HSB / HSV | hsv(259.35 58.49% 41.57%) |
| HWB | hwb(259.35 17.25% 58.43%) |
| CMYK | cmyk(40% 58% 0% 58%) |
| Lab | lab(23.07 21.33 -33.58) |
| LCH | lch(23.07 39.78 302.42) |
| OKLab | oklab(35.037% 0.04466 -0.09408) |
| OKLCH | oklch(35.037% 0.10414 295.391) |
| Display P3 | color(display-p3 0.23915 0.17578 0.40151) |
| Rec. 2020 | color(rec2020 0.1776 0.12186 0.34286) |
| Adobe RGB | color(a98-rgb 0.24124 0.1875 0.40799) |
| ProPhoto RGB | color(prophoto-rgb 0.20105 0.14543 0.31994) |
| Linear sRGB | color(srgb-linear 0.05127 0.02519 0.14413) |
| XYZ D65 | color(xyz-d65 0.05616 0.03932 0.14099) |
| XYZ D50 | color(xyz-d50 0.05268 0.0382 0.10608) |
| SwiftUI | Color(red: 0.251, green: 0.173, blue: 0.416) |
| UIKit | UIColor(red: 0.251, green: 0.173, blue: 0.416, alpha: 1) |
| Flutter / Compose | Color(0xFF402C6A) |
| Android XML | #402C6A |

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

## Tints

#402c6a, #504079, #615488, #736896, #867ca5, #9991b4, #aca6c3, #c0bcd2, #d5d2e1, #eae8f0

## Shades

#402c6a, #36255b, #2d1e4d, #24173f, #1b1131, #130a24, #0b0518, #05020d, #010104, #000000

## Tones

#402c6a, #3f2e65, #3f3061, #3e325c, #3d3358, #3d3553, #3c364e, #3c3749, #3b3945, #3b3a40

## Harmonies

- Complementary: #402c6a, #394000
- Split: #402c6a, #503500, #064813
- Analogous: #402c6a, #203670, #552358
- Triadic: #402c6a, #612700, #004938
- Tetradic: #402c6a, #621d3d, #394000, #004938
- Square: #402c6a, #661e1c, #394000, #00464e
- Monochromatic: #402c6a, #0b0023, #230a47, #604d8f, #8270b4

## Questions about #402c6a

### What color is #402c6a?

#402c6a is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 44, 106), in HSL hsl(259.35, 41.33%, 29.41%) and in OKLCH oklch(35.037% 0.10414 295.391).

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

The complementary color of #402c6a is #394000. For a calmer combination use the analogous colors #203670 and #552358. The triadic partners are #612700 and #004938.

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

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

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

#402c6a is a cool color. In OKLCH its hue is 295 degrees, its lightness 35% and its chroma 0.104.
