# #303f7f color: Official Violet

#303f7f is rgb(48, 63, 127) in RGB and oklch(39.085% 0.10916 270.696) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/303f7f

## Formats

| Format | Value |
| --- | --- |
| HEX | #303f7f |
| RGB | rgb(48, 63, 127) |
| HSL | hsl(228.61, 45.14%, 34.31%) |
| HSB / HSV | hsv(228.61 62.2% 49.8%) |
| HWB | hwb(228.61 18.82% 50.2%) |
| CMYK | cmyk(62% 50% 0% 50%) |
| Lab | lab(28.13 10.5 -38.89) |
| LCH | lch(28.13 40.28 285.11) |
| OKLab | oklab(39.085% 0.00133 -0.10915) |
| OKLCH | oklch(39.085% 0.10916 270.696) |
| Display P3 | color(display-p3 0.20009 0.24536 0.48153) |
| Rec. 2020 | color(rec2020 0.17056 0.18665 0.4274) |
| Adobe RGB | color(a98-rgb 0.2186 0.25542 0.48705) |
| ProPhoto RGB | color(prophoto-rgb 0.21314 0.19412 0.3975) |
| Linear sRGB | color(srgb-linear 0.02956 0.04971 0.21223) |
| XYZ D65 | color(xyz-d65 0.06827 0.05715 0.20823) |
| XYZ D50 | color(xyz-d50 0.0624 0.05508 0.15679) |
| SwiftUI | Color(red: 0.188, green: 0.247, blue: 0.498) |
| UIKit | UIColor(red: 0.188, green: 0.247, blue: 0.498, alpha: 1) |
| Flutter / Compose | Color(0xFF303F7F) |
| Android XML | #303F7F |

## 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.8:1
- Contrast with black: 2.14:1

## Tints

#303f7f, #41518c, #546499, #6776a6, #7b89b3, #909cc0, #a5afcc, #bbc3d9, #d1d6e6, #e8ebf2

## Shades

#303f7f, #28356e, #212c5d, #1a234c, #131b3c, #0c122d, #060a1f, #030411, #010106, #000001

## Tones

#303f7f, #324079, #344174, #36426e, #384369, #3a4463, #3c445d, #3e4557, #414551, #43454b

## Harmonies

- Complementary: #303f7f, #594200
- Split: #303f7f, #6d3300, #3e4d00
- Analogous: #303f7f, #004a79, #503476
- Triadic: #303f7f, #75291e, #005523
- Tetradic: #303f7f, #652b60, #594200, #005523
- Square: #303f7f, #712642, #594200, #005448
- Monochromatic: #303f7f, #040038, #151e5b, #4f61a5, #7185cc

## Questions about #303f7f

### What color is #303f7f?

#303f7f is soft dark indigo. The closest named color is Official Violet. In RGB it is rgb(48, 63, 127), in HSL hsl(228.61, 45.14%, 34.31%) and in OKLCH oklch(39.085% 0.10916 270.696).

### What colors go well with #303f7f?

The complementary color of #303f7f is #594200. For a calmer combination use the analogous colors #004a79 and #503476. The triadic partners are #75291e and #005523.

### Is white or black text more readable on #303f7f?

White text reads better on #303f7f: white gives a contrast ratio of 9.8:1 and black gives 2.14:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #303f7f a warm or cool color?

#303f7f is a cool color. In OKLCH its hue is 271 degrees, its lightness 39.1% and its chroma 0.109.
