# #5f429a color: Sweet Flag

#5f429a is rgb(95, 66, 154) in RGB and oklch(45.63% 0.13815 295.62) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/5f429a

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f429a |
| RGB | rgb(95, 66, 154) |
| HSL | hsl(259.77, 40%, 43.14%) |
| HSB / HSV | hsv(259.77 57.14% 60.39%) |
| HWB | hwb(259.77 25.88% 39.61%) |
| CMYK | cmyk(38% 57% 0% 40%) |
| Lab | lab(34.82 28.55 -44.45) |
| LCH | lch(34.82 52.83 302.71) |
| OKLab | oklab(45.63% 0.05974 -0.12456) |
| OKLCH | oklch(45.63% 0.13815 295.62) |
| Display P3 | color(display-p3 0.35551 0.26355 0.58394) |
| Rec. 2020 | color(rec2020 0.29723 0.21451 0.53639) |
| Adobe RGB | color(a98-rgb 0.34674 0.26629 0.5889) |
| ProPhoto RGB | color(prophoto-rgb 0.31355 0.22449 0.50081) |
| Linear sRGB | color(srgb-linear 0.11444 0.05448 0.32314) |
| XYZ D65 | color(xyz-d65 0.12499 0.08662 0.31586) |
| XYZ D50 | color(xyz-d50 0.11712 0.08411 0.23764) |
| SwiftUI | Color(red: 0.373, green: 0.259, blue: 0.604) |
| UIKit | UIColor(red: 0.373, green: 0.259, blue: 0.604, alpha: 1) |
| Flutter / Compose | Color(0xFF5F429A) |
| Android XML | #5F429A |

## 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.69:1
- Contrast with black: 2.73:1

## Tints

#5f429a, #6d55a5, #7c67af, #8b7aba, #9a8cc4, #aa9fce, #bbb2d8, #cbc5e2, #dcd8ec, #edebf6

## Shades

#5f429a, #523885, #442f71, #38255e, #2c1c4b, #201439, #150b27, #0a0517, #030109, #000001

## Tones

#5f429a, #5e4594, #5d488d, #5c4b87, #5b4d80, #5a4f79, #595173, #59536c, #585465, #57565e

## Harmonies

- Complementary: #5f429a, #555e00
- Split: #5f429a, #735000, #066a1e
- Analogous: #5f429a, #3151a3, #7c3680
- Triadic: #5f429a, #8d3c00, #006954
- Tetradic: #5f429a, #8e2d5a, #555e00, #006954
- Square: #5f429a, #952e2c, #555e00, #006571
- Monochromatic: #5f429a, #230050, #3f1e74, #8165c1, #a58ae9

## Questions about #5f429a

### What color is #5f429a?

#5f429a is soft dark violet. The closest named color is Sweet Flag. In RGB it is rgb(95, 66, 154), in HSL hsl(259.77, 40%, 43.14%) and in OKLCH oklch(45.63% 0.13815 295.62).

### What colors go well with #5f429a?

The complementary color of #5f429a is #555e00. For a calmer combination use the analogous colors #3151a3 and #7c3680. The triadic partners are #8d3c00 and #006954.

### Is white or black text more readable on #5f429a?

White text reads better on #5f429a: white gives a contrast ratio of 7.69:1 and black gives 2.73:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #5f429a a warm or cool color?

#5f429a is a cool color. In OKLCH its hue is 296 degrees, its lightness 45.6% and its chroma 0.138.
