# #645ea1 color: Giant Onion

#645ea1 is rgb(100, 94, 161) in RGB and oklch(51.776% 0.10406 286.257) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/645ea1

## Formats

| Format | Value |
| --- | --- |
| HEX | #645ea1 |
| RGB | rgb(100, 94, 161) |
| HSL | hsl(245.37, 26.27%, 50%) |
| HSB / HSV | hsv(245.37 41.61% 63.14%) |
| HWB | hwb(245.37 36.86% 36.86%) |
| CMYK | cmyk(38% 42% 0% 37%) |
| Lab | lab(42.79 15.29 -35.97) |
| LCH | lch(42.79 39.08 293.03) |
| OKLab | oklab(51.776% 0.02913 -0.0999) |
| OKLCH | oklch(51.776% 0.10406 286.257) |
| Display P3 | color(display-p3 0.38811 0.36944 0.61371) |
| Rec. 2020 | color(rec2020 0.34303 0.31734 0.56922) |
| Adobe RGB | color(a98-rgb 0.38566 0.36945 0.61746) |
| ProPhoto RGB | color(prophoto-rgb 0.35433 0.30841 0.53445) |
| Linear sRGB | color(srgb-linear 0.12744 0.11193 0.3564) |
| XYZ D65 | color(xyz-d65 0.1569 0.13288 0.35458) |
| XYZ D50 | color(xyz-d50 0.14968 0.1302 0.26715) |
| SwiftUI | Color(red: 0.392, green: 0.369, blue: 0.631) |
| UIKit | UIColor(red: 0.392, green: 0.369, blue: 0.631, alpha: 1) |
| Flutter / Compose | Color(0xFF645EA1) |
| Android XML | #645EA1 |

## Facts

- Closest name: Giant Onion
- Hue family: Violet, soft violet
- Closest Tailwind class: slate-500
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 5.74:1
- Contrast with black: 3.66:1

## Tints

#645ea1, #726dab, #807db4, #8f8dbe, #9e9cc8, #adacd1, #bdbdda, #cdcde4, #dedded, #eeeef6

## Shades

#645ea1, #56518b, #484476, #3b3762, #2e2b4e, #221f3c, #16142a, #0b0a19, #030309, #000001

## Tones

#645ea1, #645f9c, #646196, #656290, #65638b, #656485, #666580, #66667a, #676774, #68676e

## Harmonies

- Complementary: #645ea1, #706b12
- Split: #645ea1, #8a5f0d, #4b7636
- Analogous: #645ea1, #3e69a3, #805490
- Triadic: #645ea1, #985330, #0c7b5b
- Tetradic: #645ea1, #924e75, #706b12, #0c7b5b
- Square: #645ea1, #9b4d53, #706b12, #007a7c
- Monochromatic: #645ea1, #271b58, #443c7c, #8682c8, #aba7f0

## Questions about #645ea1

### What color is #645ea1?

#645ea1 is soft violet. The closest named color is Giant Onion. In RGB it is rgb(100, 94, 161), in HSL hsl(245.37, 26.27%, 50%) and in OKLCH oklch(51.776% 0.10406 286.257).

### What colors go well with #645ea1?

The complementary color of #645ea1 is #706b12. For a calmer combination use the analogous colors #3e69a3 and #805490. The triadic partners are #985330 and #0c7b5b.

### Is white or black text more readable on #645ea1?

White text reads better on #645ea1: white gives a contrast ratio of 5.74:1 and black gives 3.66:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #645ea1 a warm or cool color?

#645ea1 is a cool color. In OKLCH its hue is 286 degrees, its lightness 51.8% and its chroma 0.104.
