# #645ba6 color: Giant Onion

#645ba6 is rgb(100, 91, 166) in RGB and oklch(51.474% 0.11605 287.083) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #645ba6 |
| RGB | rgb(100, 91, 166) |
| HSL | hsl(247.2, 29.64%, 50.39%) |
| HSB / HSV | hsv(247.2 45.18% 65.1%) |
| HWB | hwb(247.2 35.69% 34.9%) |
| CMYK | cmyk(40% 45% 0% 35%) |
| Lab | lab(42.23 18.18 -39.81) |
| LCH | lch(42.23 43.77 294.55) |
| OKLab | oklab(51.474% 0.03409 -0.11093) |
| OKLCH | oklch(51.474% 0.11605 287.083) |
| Display P3 | color(display-p3 0.38618 0.3581 0.63182) |
| Rec. 2020 | color(rec2020 0.34102 0.30674 0.58858) |
| Adobe RGB | color(a98-rgb 0.38268 0.35827 0.63624) |
| ProPhoto RGB | color(prophoto-rgb 0.35572 0.30022 0.55319) |
| Linear sRGB | color(srgb-linear 0.12744 0.10462 0.38133) |
| XYZ D65 | color(xyz-d65 0.15879 0.12945 0.3774) |
| XYZ D50 | color(xyz-d50 0.15042 0.12647 0.28424) |
| SwiftUI | Color(red: 0.392, green: 0.357, blue: 0.651) |
| UIKit | UIColor(red: 0.392, green: 0.357, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF645BA6) |
| Android XML | #645BA6 |

## 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.85:1
- Contrast with black: 3.59:1

## Tints

#645ba6, #726baf, #807bb9, #8f8bc2, #9e9bcb, #adabd4, #bdbcdd, #cdcce5, #ddddee, #eeeef7

## Shades

#645ba6, #564e90, #48417a, #3b3565, #2e2951, #221e3e, #16132b, #0b091a, #03030a, #000001

## Tones

#645ba6, #645da0, #645e9a, #646094, #65618e, #656387, #656481, #66657b, #666674, #67666e

## Harmonies

- Complementary: #645ba6, #706b00
- Split: #645ba6, #8c5d00, #45762f
- Analogous: #645ba6, #3968a9, #825093
- Triadic: #645ba6, #9c4f25, #007c59
- Tetradic: #645ba6, #964974, #706b00, #007c59
- Square: #645ba6, #9f484f, #706b00, #00797d
- Monochromatic: #645ba6, #27175c, #443980, #867fcd, #aba4f5

## Questions about #645ba6

### What color is #645ba6?

#645ba6 is soft violet. The closest named color is Giant Onion. In RGB it is rgb(100, 91, 166), in HSL hsl(247.2, 29.64%, 50.39%) and in OKLCH oklch(51.474% 0.11605 287.083).

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

The complementary color of #645ba6 is #706b00. For a calmer combination use the analogous colors #3968a9 and #825093. The triadic partners are #9c4f25 and #007c59.

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

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

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

#645ba6 is a cool color. In OKLCH its hue is 287 degrees, its lightness 51.5% and its chroma 0.116.
