# #40276f color: Her Highness

#40276f is rgb(64, 39, 111) in RGB and oklch(34.544% 0.11908 295.477) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/40276f

## Formats

| Format | Value |
| --- | --- |
| HEX | #40276f |
| RGB | rgb(64, 39, 111) |
| HSL | hsl(260.83, 48%, 29.41%) |
| HSB / HSV | hsv(260.83 64.86% 43.53%) |
| HWB | hwb(260.83 15.29% 56.47%) |
| CMYK | cmyk(42% 65% 0% 56%) |
| Lab | lab(22.16 25.54 -38.27) |
| LCH | lch(22.16 46.01 303.72) |
| OKLab | oklab(34.544% 0.05122 -0.1075) |
| OKLCH | oklch(34.544% 0.11908 295.477) |
| Display P3 | color(display-p3 0.23685 0.15727 0.41968) |
| Rec. 2020 | color(rec2020 0.175 0.10594 0.36172) |
| Adobe RGB | color(a98-rgb 0.23772 0.16994 0.42619) |
| ProPhoto RGB | color(prophoto-rgb 0.20198 0.13511 0.33655) |
| Linear sRGB | color(srgb-linear 0.05127 0.02029 0.15896) |
| XYZ D65 | color(xyz-d65 0.05709 0.03689 0.15451) |
| XYZ D50 | color(xyz-d50 0.05291 0.03559 0.1162) |
| SwiftUI | Color(red: 0.251, green: 0.153, blue: 0.435) |
| UIKit | UIColor(red: 0.251, green: 0.153, blue: 0.435, alpha: 1) |
| Flutter / Compose | Color(0xFF40276F) |
| Android XML | #40276F |

## 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: 12.08:1
- Contrast with black: 1.74:1

## Tints

#40276f, #503c7e, #61508c, #73659b, #857aa9, #998fb7, #aca5c6, #c0bbd4, #d5d1e2, #eae8f1

## Shades

#40276f, #362060, #2d1a51, #241442, #1b0e34, #130827, #0b041a, #05020e, #010104, #000001

## Tones

#40276f, #3f2a6a, #3e2d65, #3d2f5f, #3d315a, #3c3355, #3b3450, #3b364a, #3a3745, #3a383f

## Harmonies

- Complementary: #40276f, #383e00
- Split: #40276f, #4e3400, #004806
- Analogous: #40276f, #1b3376, #571c5a
- Triadic: #40276f, #612500, #004737
- Tetradic: #40276f, #65143c, #383e00, #004737
- Square: #40276f, #6a1415, #383e00, #00444d
- Monochromatic: #40276f, #0b0023, #23024b, #604994, #826cba

## Questions about #40276f

### What color is #40276f?

#40276f is soft dark violet. The closest named color is Her Highness. In RGB it is rgb(64, 39, 111), in HSL hsl(260.83, 48%, 29.41%) and in OKLCH oklch(34.544% 0.11908 295.477).

### What colors go well with #40276f?

The complementary color of #40276f is #383e00. For a calmer combination use the analogous colors #1b3376 and #571c5a. The triadic partners are #612500 and #004737.

### Is white or black text more readable on #40276f?

White text reads better on #40276f: white gives a contrast ratio of 12.08:1 and black gives 1.74:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #40276f a warm or cool color?

#40276f is a cool color. In OKLCH its hue is 295 degrees, its lightness 34.5% and its chroma 0.119.
