# #402b6c color: Her Highness

#402b6c is rgb(64, 43, 108) in RGB and oklch(35.004% 0.10863 295.09) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402b6c |
| RGB | rgb(64, 43, 108) |
| HSL | hsl(259.38, 43.05%, 29.61%) |
| HSB / HSV | hsv(259.38 60.19% 42.35%) |
| HWB | hwb(259.38 16.86% 57.65%) |
| CMYK | cmyk(41% 60% 0% 58%) |
| Lab | lab(22.94 22.42 -35.08) |
| LCH | lch(22.94 41.63 302.58) |
| OKLab | oklab(35.004% 0.04606 -0.09838) |
| OKLCH | oklch(35.004% 0.10863 295.09) |
| Display P3 | color(display-p3 0.23867 0.17206 0.40886) |
| Rec. 2020 | color(rec2020 0.17737 0.11874 0.35051) |
| Adobe RGB | color(a98-rgb 0.2405 0.18398 0.41531) |
| ProPhoto RGB | color(prophoto-rgb 0.20201 0.14351 0.3267) |
| Linear sRGB | color(srgb-linear 0.05127 0.02416 0.14996) |
| XYZ D65 | color(xyz-d65 0.05685 0.039 0.14641) |
| XYZ D50 | color(xyz-d50 0.05312 0.03782 0.11015) |
| SwiftUI | Color(red: 0.251, green: 0.169, blue: 0.424) |
| UIKit | UIColor(red: 0.251, green: 0.169, blue: 0.424, alpha: 1) |
| Flutter / Compose | Color(0xFF402B6C) |
| Android XML | #402B6C |

## 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.8:1
- Contrast with black: 1.78:1

## Tints

#402b6c, #503f7b, #615389, #736798, #867ca7, #9991b5, #aca6c4, #c0bcd3, #d5d2e1, #eae8f0

## Shades

#402b6c, #36245d, #2d1d4e, #241640, #1b1032, #130a25, #0b0519, #05020d, #010104, #000000

## Tones

#402b6c, #3f2d67, #3e2f62, #3e315e, #3d3359, #3d3554, #3c364f, #3c374a, #3b3845, #3b3940

## Harmonies

- Complementary: #402b6c, #3a3f00
- Split: #402b6c, #503500, #01480f
- Analogous: #402b6c, #1e3672, #552259
- Triadic: #402b6c, #632600, #004838
- Tetradic: #402b6c, #631b3d, #3a3f00, #004838
- Square: #402b6c, #681c1b, #3a3f00, #00454e
- Monochromatic: #402b6c, #0b0023, #230849, #604c91, #826fb7

## Questions about #402b6c

### What color is #402b6c?

#402b6c is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 43, 108), in HSL hsl(259.38, 43.05%, 29.61%) and in OKLCH oklch(35.004% 0.10863 295.09).

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

The complementary color of #402b6c is #3a3f00. For a calmer combination use the analogous colors #1e3672 and #552259. The triadic partners are #632600 and #004838.

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

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

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

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