# #402f6c color: Her Highness

#402f6c is rgb(64, 47, 108) in RGB and oklch(35.743% 0.10205 293.408) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402f6c |
| RGB | rgb(64, 47, 108) |
| HSL | hsl(256.72, 39.35%, 30.39%) |
| HSB / HSV | hsv(256.72 56.48% 42.35%) |
| HWB | hwb(256.72 18.43% 57.65%) |
| CMYK | cmyk(41% 56% 0% 58%) |
| Lab | lab(23.96 19.95 -33.45) |
| LCH | lch(23.96 38.95 300.81) |
| OKLab | oklab(35.743% 0.04054 -0.09365) |
| OKLCH | oklch(35.743% 0.10205 293.408) |
| Display P3 | color(display-p3 0.24065 0.18695 0.40929) |
| Rec. 2020 | color(rec2020 0.18109 0.13225 0.35106) |
| Adobe RGB | color(a98-rgb 0.24353 0.1981 0.41554) |
| ProPhoto RGB | color(prophoto-rgb 0.20481 0.15305 0.32738) |
| Linear sRGB | color(srgb-linear 0.05127 0.02843 0.14996) |
| XYZ D65 | color(xyz-d65 0.05837 0.04206 0.14692) |
| XYZ D50 | color(xyz-d50 0.05476 0.04088 0.11056) |
| SwiftUI | Color(red: 0.251, green: 0.184, blue: 0.424) |
| UIKit | UIColor(red: 0.251, green: 0.184, blue: 0.424, alpha: 1) |
| Flutter / Compose | Color(0xFF402F6C) |
| Android XML | #402F6C |

## 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.41:1
- Contrast with black: 1.84:1

## Tints

#402f6c, #50427b, #615689, #736a98, #867ea6, #9992b5, #aca7c4, #c0bdd3, #d5d2e1, #eae9f0

## Shades

#402f6c, #36275d, #2d204e, #241940, #1b1232, #130c25, #0b0619, #05030d, #010104, #000000

## Tones

#402f6c, #3f3167, #3f3363, #3e345e, #3e365a, #3e3755, #3d3850, #3d3a4b, #3d3b46, #3c3b41

## Harmonies

- Complementary: #402f6c, #3d4100
- Split: #402f6c, #533600, #114913
- Analogous: #402f6c, #1f3971, #55265b
- Triadic: #402f6c, #632900, #004b38
- Tetradic: #402f6c, #632141, #3d4100, #004b38
- Square: #402f6c, #682121, #3d4100, #00484f
- Monochromatic: #402f6c, #0a0024, #230e49, #605091, #8273b7

## Questions about #402f6c

### What color is #402f6c?

#402f6c is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 47, 108), in HSL hsl(256.72, 39.35%, 30.39%) and in OKLCH oklch(35.743% 0.10205 293.408).

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

The complementary color of #402f6c is #3d4100. For a calmer combination use the analogous colors #1f3971 and #55265b. The triadic partners are #632900 and #004b38.

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

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

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

#402f6c is a cool color. In OKLCH its hue is 293 degrees, its lightness 35.7% and its chroma 0.102.
