# #402a74 color: Clear Purple

#402a74 is rgb(64, 42, 116) in RGB and oklch(35.453% 0.12134 292.857) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #402a74 |
| RGB | rgb(64, 42, 116) |
| HSL | hsl(257.84, 46.84%, 30.98%) |
| HSB / HSV | hsv(257.84 63.79% 45.49%) |
| HWB | hwb(257.84 16.47% 54.51%) |
| CMYK | cmyk(45% 64% 0% 55%) |
| Lab | lab(23.2 24.96 -39.79) |
| LCH | lch(23.2 46.97 302.1) |
| OKLab | oklab(35.453% 0.04713 -0.11181) |
| OKLCH | oklch(35.453% 0.12134 292.857) |
| Display P3 | color(display-p3 0.2382 0.16835 0.43863) |
| Rec. 2020 | color(rec2020 0.17933 0.11643 0.38166) |
| Adobe RGB | color(a98-rgb 0.23978 0.18046 0.44486) |
| ProPhoto RGB | color(prophoto-rgb 0.2082 0.14304 0.35463) |
| Linear sRGB | color(srgb-linear 0.05127 0.02315 0.17465) |
| XYZ D65 | color(xyz-d65 0.06094 0.04007 0.16976) |
| XYZ D50 | color(xyz-d50 0.05626 0.03859 0.12768) |
| SwiftUI | Color(red: 0.251, green: 0.165, blue: 0.455) |
| UIKit | UIColor(red: 0.251, green: 0.165, blue: 0.455, alpha: 1) |
| Flutter / Compose | Color(0xFF402A74) |
| Android XML | #402A74 |

## Facts

- Closest name: Clear Purple
- Hue family: Violet, soft dark violet
- Closest Tailwind class: indigo-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 11.66:1
- Contrast with black: 1.8:1

## Tints

#402a74, #503f82, #615390, #73679e, #857cac, #9891ba, #aca6c8, #c0bcd6, #d5d2e4, #eae8f1

## Shades

#402a74, #362364, #2d1c54, #241645, #1b1037, #130a29, #0b051b, #05020f, #010105, #000001

## Tones

#402a74, #3f2d6f, #3f2f69, #3e3264, #3d345e, #3d3559, #3c3753, #3c384d, #3c3948, #3c3b42

## Harmonies

- Complementary: #402a74, #3d4000
- Split: #402a74, #533500, #004a00
- Analogous: #402a74, #17367a, #581f60
- Triadic: #402a74, #672400, #004a37
- Tetradic: #402a74, #671641, #3d4000, #004a37
- Square: #402a74, #6e151b, #3d4000, #00474e
- Monochromatic: #402a74, #0a0024, #240550, #604c99, #826fc0

## Questions about #402a74

### What color is #402a74?

#402a74 is soft dark violet. The closest named color is Clear Purple. In RGB it is rgb(64, 42, 116), in HSL hsl(257.84, 46.84%, 30.98%) and in OKLCH oklch(35.453% 0.12134 292.857).

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

The complementary color of #402a74 is #3d4000. For a calmer combination use the analogous colors #17367a and #581f60. The triadic partners are #672400 and #004a37.

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

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

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

#402a74 is a cool color. In OKLCH its hue is 293 degrees, its lightness 35.5% and its chroma 0.121.
