# #402157 color: Galactic Wonder

#402157 is rgb(64, 33, 87) in RGB and oklch(31.715% 0.09685 308.35) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/402157

## Formats

| Format | Value |
| --- | --- |
| HEX | #402157 |
| RGB | rgb(64, 33, 87) |
| HSL | hsl(274.44, 45%, 23.53%) |
| HSB / HSV | hsv(274.44 62.07% 34.12%) |
| HWB | hwb(274.44 12.94% 65.88%) |
| CMYK | cmyk(26% 62% 0% 66%) |
| Lab | lab(19.26 23.72 -27.19) |
| LCH | lch(19.26 36.09 311.11) |
| OKLab | oklab(31.715% 0.06009 -0.07595) |
| OKLCH | oklch(31.715% 0.09685 308.35) |
| Display P3 | color(display-p3 0.23444 0.13533 0.32959) |
| Rec. 2020 | color(rec2020 0.16271 0.08373 0.26807) |
| Adobe RGB | color(a98-rgb 0.234 0.14907 0.33795) |
| ProPhoto RGB | color(prophoto-rgb 0.17978 0.11696 0.25447) |
| Linear sRGB | color(srgb-linear 0.05127 0.01521 0.09531) |
| XYZ D65 | color(xyz-d65 0.04378 0.02866 0.0934) |
| XYZ D50 | color(xyz-d50 0.04185 0.02809 0.07025) |
| SwiftUI | Color(red: 0.251, green: 0.129, blue: 0.341) |
| UIKit | UIColor(red: 0.251, green: 0.129, blue: 0.341, alpha: 1) |
| Flutter / Compose | Color(0xFF402157) |
| Android XML | #402157 |

## Facts

- Closest name: Galactic Wonder
- Hue family: Purple, soft dark purple
- Closest Tailwind class: fuchsia-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 13.35:1
- Contrast with black: 1.57:1

## Tints

#402157, #513567, #624a77, #755f88, #877498, #9a8aa9, #aea1ba, #c1b8cb, #d6cfdc, #eae7ed

## Shades

#402157, #361b4b, #2d163e, #241033, #1b0b27, #13061c, #0b0312, #050108, #010003, #000000

## Tones

#402157, #3f2353, #3d2650, #3c284c, #3a2a49, #392b45, #382d41, #362e3e, #35303a, #333136

## Harmonies

- Complementary: #402157, #233a00
- Split: #402157, #3e3100, #00401e
- Analogous: #402157, #292a62, #501a43
- Triadic: #402157, #4e2700, #003e39
- Tetradic: #402157, #581628, #233a00, #003e39
- Square: #402157, #591b04, #233a00, #003a4c
- Monochromatic: #402157, #0e001d, #220136, #61417a, #84639f

## Questions about #402157

### What color is #402157?

#402157 is soft dark purple. The closest named color is Galactic Wonder. In RGB it is rgb(64, 33, 87), in HSL hsl(274.44, 45%, 23.53%) and in OKLCH oklch(31.715% 0.09685 308.35).

### What colors go well with #402157?

The complementary color of #402157 is #233a00. For a calmer combination use the analogous colors #292a62 and #501a43. The triadic partners are #4e2700 and #003e39.

### Is white or black text more readable on #402157?

White text reads better on #402157: white gives a contrast ratio of 13.35:1 and black gives 1.57:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #402157 a warm or cool color?

#402157 is a neutral color. In OKLCH its hue is 308 degrees, its lightness 31.7% and its chroma 0.097.
