# #664798 color: Sweet Flag

#664798 is rgb(102, 71, 152) in RGB and oklch(47.084% 0.12848 299.07) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #664798 |
| RGB | rgb(102, 71, 152) |
| HSL | hsl(262.96, 36.32%, 43.73%) |
| HSB / HSV | hsv(262.96 53.29% 59.61%) |
| HWB | hwb(262.96 27.84% 40.39%) |
| CMYK | cmyk(33% 53% 0% 40%) |
| Lab | lab(36.7 27.33 -40.2) |
| LCH | lch(36.7 48.61 304.21) |
| OKLab | oklab(47.084% 0.06242 -0.11229) |
| OKLCH | oklch(47.084% 0.12848 299.07) |
| Display P3 | color(display-p3 0.3818 0.28349 0.57733) |
| Rec. 2020 | color(rec2020 0.32044 0.23438 0.52944) |
| Adobe RGB | color(a98-rgb 0.371 0.2845 0.58162) |
| ProPhoto RGB | color(prophoto-rgb 0.3291 0.24056 0.49439) |
| Linear sRGB | color(srgb-linear 0.13287 0.06301 0.31399) |
| XYZ D65 | color(xyz-d65 0.13399 0.09598 0.30854) |
| XYZ D50 | color(xyz-d50 0.12713 0.09377 0.23219) |
| SwiftUI | Color(red: 0.4, green: 0.278, blue: 0.596) |
| UIKit | UIColor(red: 0.4, green: 0.278, blue: 0.596, alpha: 1) |
| Flutter / Compose | Color(0xFF664798) |
| Android XML | #664798 |

## Facts

- Closest name: Sweet Flag
- Hue family: Violet, soft dark violet
- Closest Tailwind class: purple-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.19:1
- Contrast with black: 2.92:1

## Tints

#664798, #7459a3, #826bae, #907db8, #9f8fc3, #afa1cd, #beb3d7, #cec6e1, #ded9eb, #eeecf5

## Shades

#664798, #583d84, #4a3270, #3c285c, #2f1f4a, #231638, #170d27, #0c0617, #040208, #000001

## Tones

#664798, #654a92, #634c8c, #624f86, #615180, #60537a, #5f5574, #5e576e, #5d5868, #5c5a61

## Harmonies

- Complementary: #664798, #546400
- Split: #664798, #755600, #0a6e2f
- Analogous: #664798, #3e54a2, #813c7e
- Triadic: #664798, #8d4400, #006e5c
- Tetradic: #664798, #913659, #546400, #006e5c
- Square: #664798, #96382e, #546400, #006979
- Monochromatic: #664798, #28004f, #462473, #896abf, #ad8fe6

## Questions about #664798

### What color is #664798?

#664798 is soft dark violet. The closest named color is Sweet Flag. In RGB it is rgb(102, 71, 152), in HSL hsl(262.96, 36.32%, 43.73%) and in OKLCH oklch(47.084% 0.12848 299.07).

### What colors go well with #664798?

The complementary color of #664798 is #546400. For a calmer combination use the analogous colors #3e54a2 and #813c7e. The triadic partners are #8d4400 and #006e5c.

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

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

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

#664798 is a cool color. In OKLCH its hue is 299 degrees, its lightness 47.1% and its chroma 0.128.
