# #334180 color: Official Violet

#334180 is rgb(51, 65, 128) in RGB and oklch(39.793% 0.10694 271.365) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #334180 |
| RGB | rgb(51, 65, 128) |
| HSL | hsl(229.09, 43.02%, 35.1%) |
| HSB / HSV | hsv(229.09 60.16% 50.2%) |
| HWB | hwb(229.09 20% 49.8%) |
| CMYK | cmyk(60% 49% 0% 50%) |
| Lab | lab(28.99 10.27 -38.13) |
| LCH | lch(28.99 39.49 285.07) |
| OKLab | oklab(39.793% 0.00255 -0.10691) |
| OKLCH | oklch(39.793% 0.10694 271.365) |
| Display P3 | color(display-p3 0.21093 0.25329 0.48558) |
| Rec. 2020 | color(rec2020 0.17979 0.19468 0.43174) |
| Adobe RGB | color(a98-rgb 0.22803 0.26266 0.49092) |
| ProPhoto RGB | color(prophoto-rgb 0.21962 0.20064 0.40164) |
| Linear sRGB | color(srgb-linear 0.0331 0.05286 0.21586) |
| XYZ D65 | color(xyz-d65 0.07151 0.06043 0.21212) |
| XYZ D50 | color(xyz-d50 0.06568 0.05835 0.15974) |
| SwiftUI | Color(red: 0.2, green: 0.255, blue: 0.502) |
| UIKit | UIColor(red: 0.2, green: 0.255, blue: 0.502, alpha: 1) |
| Flutter / Compose | Color(0xFF334180) |
| Android XML | #334180 |

## Facts

- Closest name: Official Violet
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 9.51:1
- Contrast with black: 2.21:1

## Tints

#334180, #44538d, #57659a, #6a77a7, #7d8ab3, #929dc0, #a7b0cd, #bcc3d9, #d2d7e6, #e8ebf3

## Shades

#334180, #2b376e, #232e5d, #1c254d, #141c3d, #0d132e, #070b1f, #030512, #010106, #000001

## Tones

#334180, #35427a, #374375, #39446f, #3b456a, #3d4564, #3f465f, #414659, #434753, #45474d

## Harmonies

- Complementary: #334180, #5b4400
- Split: #334180, #6e3600, #3f4f00
- Analogous: #334180, #004c7b, #523677
- Triadic: #334180, #762c20, #005727
- Tetradic: #334180, #672e61, #5b4400, #005727
- Square: #334180, #732943, #5b4400, #00564a
- Monochromatic: #334180, #050039, #17205c, #5263a6, #7487cd

## Questions about #334180

### What color is #334180?

#334180 is soft dark indigo. The closest named color is Official Violet. In RGB it is rgb(51, 65, 128), in HSL hsl(229.09, 43.02%, 35.1%) and in OKLCH oklch(39.793% 0.10694 271.365).

### What colors go well with #334180?

The complementary color of #334180 is #5b4400. For a calmer combination use the analogous colors #004c7b and #523677. The triadic partners are #762c20 and #005727.

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

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

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

#334180 is a cool color. In OKLCH its hue is 271 degrees, its lightness 39.8% and its chroma 0.107.
