# #402b6d color: Her Highness

#402b6d is rgb(64, 43, 109) in RGB and oklch(35.08% 0.11004 294.746) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402b6d |
| RGB | rgb(64, 43, 109) |
| HSL | hsl(259.09, 43.42%, 29.8%) |
| HSB / HSV | hsv(259.09 60.55% 42.75%) |
| HWB | hwb(259.09 16.86% 57.25%) |
| CMYK | cmyk(41% 61% 0% 57%) |
| Lab | lab(23 22.66 -35.63) |
| LCH | lch(23 42.22 302.45) |
| OKLab | oklab(35.08% 0.04606 -0.09993) |
| OKLCH | oklch(35.08% 0.11004 294.746) |
| Display P3 | color(display-p3 0.23867 0.17206 0.41259) |
| Rec. 2020 | color(rec2020 0.17771 0.11886 0.3544) |
| Adobe RGB | color(a98-rgb 0.2405 0.18398 0.419) |
| ProPhoto RGB | color(prophoto-rgb 0.20284 0.14373 0.33017) |
| Linear sRGB | color(srgb-linear 0.05127 0.02416 0.15293) |
| XYZ D65 | color(xyz-d65 0.05738 0.03922 0.14923) |
| XYZ D50 | color(xyz-d50 0.05354 0.038 0.11226) |
| SwiftUI | Color(red: 0.251, green: 0.169, blue: 0.427) |
| UIKit | UIColor(red: 0.251, green: 0.169, blue: 0.427, alpha: 1) |
| Flutter / Compose | Color(0xFF402B6D) |
| Android XML | #402B6D |

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

## Tints

#402b6d, #503f7c, #61538a, #736799, #867ca7, #9991b6, #aca6c4, #c0bcd3, #d5d2e2, #eae8f0

## Shades

#402b6d, #36245e, #2d1d4f, #241641, #1b1033, #130a26, #0b0519, #05020d, #010104, #000001

## Tones

#402b6d, #3f2d68, #3e3063, #3e315e, #3d3359, #3d3555, #3c3650, #3c374a, #3b3945, #3b3a40

## Harmonies

- Complementary: #402b6d, #3a4000
- Split: #402b6d, #503500, #01480e
- Analogous: #402b6d, #1d3673, #56225a
- Triadic: #402b6d, #642500, #004938
- Tetradic: #402b6d, #631b3e, #3a4000, #004938
- Square: #402b6d, #691b1b, #3a4000, #00464e
- Monochromatic: #402b6d, #0a0023, #23084a, #604c92, #826fb8

## Questions about #402b6d

### What color is #402b6d?

#402b6d is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 43, 109), in HSL hsl(259.09, 43.42%, 29.8%) and in OKLCH oklch(35.08% 0.11004 294.746).

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

The complementary color of #402b6d is #3a4000. For a calmer combination use the analogous colors #1d3673 and #56225a. The triadic partners are #642500 and #004938.

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

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

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

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