# #604797 color: Sweet Flag

#604797 is rgb(96, 71, 151) in RGB and oklch(46.402% 0.12632 295.47) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #604797 |
| RGB | rgb(96, 71, 151) |
| HSL | hsl(258.75, 36.04%, 43.53%) |
| HSB / HSV | hsv(258.75 52.98% 59.22%) |
| HWB | hwb(258.75 27.84% 40.78%) |
| CMYK | cmyk(36% 53% 0% 41%) |
| Lab | lab(35.98 25.28 -40.79) |
| LCH | lch(35.98 48 301.79) |
| OKLab | oklab(46.402% 0.05432 -0.11405) |
| OKLCH | oklch(46.402% 0.12632 295.47) |
| Display P3 | color(display-p3 0.36138 0.28235 0.57336) |
| Rec. 2020 | color(rec2020 0.30372 0.23192 0.52521) |
| Adobe RGB | color(a98-rgb 0.35353 0.2845 0.57783) |
| ProPhoto RGB | color(prophoto-rgb 0.31668 0.23761 0.4903) |
| Linear sRGB | color(srgb-linear 0.11697 0.06301 0.30947) |
| XYZ D65 | color(xyz-d65 0.12662 0.09228 0.30393) |
| XYZ D50 | color(xyz-d50 0.11955 0.08996 0.22874) |
| SwiftUI | Color(red: 0.376, green: 0.278, blue: 0.592) |
| UIKit | UIColor(red: 0.376, green: 0.278, blue: 0.592, alpha: 1) |
| Flutter / Compose | Color(0xFF604797) |
| Android XML | #604797 |

## Facts

- Closest name: Sweet Flag
- Hue family: Violet, soft dark violet
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.38:1
- Contrast with black: 2.85:1

## Tints

#604797, #6e59a2, #7d6bad, #8c7db7, #9b8fc2, #aba1cc, #bbb3d7, #ccc6e1, #ddd9eb, #eeecf5

## Shades

#604797, #523d83, #45326f, #38285c, #2c1f49, #201637, #150d26, #0a0617, #030208, #000001

## Tones

#604797, #5f4a91, #5e4c8b, #5d4e85, #5d507f, #5c5279, #5b5473, #5b556c, #5a5766, #595860

## Harmonies

- Complementary: #604797, #576000
- Split: #604797, #765200, #1c6b27
- Analogous: #604797, #36549f, #7c3c7f
- Triadic: #604797, #8c4100, #006c56
- Tetradic: #604797, #8d355c, #576000, #006c56
- Square: #604797, #933632, #576000, #006874
- Monochromatic: #604797, #24004e, #402572, #826abe, #a68fe5

## Questions about #604797

### What color is #604797?

#604797 is soft dark violet. The closest named color is Sweet Flag. In RGB it is rgb(96, 71, 151), in HSL hsl(258.75, 36.04%, 43.53%) and in OKLCH oklch(46.402% 0.12632 295.47).

### What colors go well with #604797?

The complementary color of #604797 is #576000. For a calmer combination use the analogous colors #36549f and #7c3c7f. The triadic partners are #8c4100 and #006c56.

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

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

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

#604797 is a cool color. In OKLCH its hue is 295 degrees, its lightness 46.4% and its chroma 0.126.
