# #313f7f color: Official Violet

#313f7f is rgb(49, 63, 127) in RGB and oklch(39.15% 0.10885 271.287) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #313f7f |
| RGB | rgb(49, 63, 127) |
| HSL | hsl(229.23, 44.32%, 34.51%) |
| HSB / HSV | hsv(229.23 61.42% 49.8%) |
| HWB | hwb(229.23 19.22% 50.2%) |
| CMYK | cmyk(61% 50% 0% 50%) |
| Lab | lab(28.2 10.75 -38.77) |
| LCH | lch(28.2 40.24 285.49) |
| OKLab | oklab(39.15% 0.00244 -0.10882) |
| OKLCH | oklch(39.15% 0.10885 271.287) |
| Display P3 | color(display-p3 0.20312 0.24546 0.48155) |
| Rec. 2020 | color(rec2020 0.17255 0.18685 0.42743) |
| Adobe RGB | color(a98-rgb 0.22091 0.25542 0.48705) |
| ProPhoto RGB | color(prophoto-rgb 0.21431 0.19435 0.39753) |
| Linear sRGB | color(srgb-linear 0.03071 0.04971 0.21223) |
| XYZ D65 | color(xyz-d65 0.06874 0.0574 0.20825) |
| XYZ D50 | color(xyz-d50 0.0629 0.05533 0.15681) |
| SwiftUI | Color(red: 0.192, green: 0.247, blue: 0.498) |
| UIKit | UIColor(red: 0.192, green: 0.247, blue: 0.498, alpha: 1) |
| Flutter / Compose | Color(0xFF313F7F) |
| Android XML | #313F7F |

## 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.78:1
- Contrast with black: 2.15:1

## Tints

#313f7f, #42518c, #556499, #6876a6, #7c89b3, #919cc0, #a6afcc, #bbc3d9, #d1d6e6, #e8ebf2

## Shades

#313f7f, #29356e, #222c5d, #1a234c, #131b3c, #0c122d, #060a1f, #030411, #010106, #000001

## Tones

#313f7f, #334079, #354174, #37426e, #394369, #3b4463, #3d445d, #3f4557, #414551, #43454b

## Harmonies

- Complementary: #313f7f, #594200
- Split: #313f7f, #6d3400, #3d4d00
- Analogous: #313f7f, #004a7a, #503476
- Triadic: #313f7f, #75291d, #005525
- Tetradic: #313f7f, #652c60, #594200, #005525
- Square: #313f7f, #722742, #594200, #005448
- Monochromatic: #313f7f, #050038, #161e5b, #5061a5, #7285cc

## Questions about #313f7f

### What color is #313f7f?

#313f7f is soft dark indigo. The closest named color is Official Violet. In RGB it is rgb(49, 63, 127), in HSL hsl(229.23, 44.32%, 34.51%) and in OKLCH oklch(39.15% 0.10885 271.287).

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

The complementary color of #313f7f is #594200. For a calmer combination use the analogous colors #004a7a and #503476. The triadic partners are #75291d and #005525.

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

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

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

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