# #313f82 color: Official Violet

#313f82 is rgb(49, 63, 130) in RGB and oklch(39.372% 0.11339 271.417) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #313f82 |
| RGB | rgb(49, 63, 130) |
| HSL | hsl(229.63, 45.25%, 35.1%) |
| HSB / HSV | hsv(229.63 62.31% 50.98%) |
| HWB | hwb(229.63 19.22% 49.02%) |
| CMYK | cmyk(62% 52% 0% 49%) |
| Lab | lab(28.38 11.65 -40.36) |
| LCH | lch(28.38 42.01 286.1) |
| OKLab | oklab(39.372% 0.0028 -0.11335) |
| OKLCH | oklch(39.372% 0.11339 271.417) |
| Display P3 | color(display-p3 0.20312 0.24546 0.49273) |
| Rec. 2020 | color(rec2020 0.17384 0.18717 0.43924) |
| Adobe RGB | color(a98-rgb 0.22091 0.25542 0.49825) |
| ProPhoto RGB | color(prophoto-rgb 0.21724 0.19499 0.40847) |
| Linear sRGB | color(srgb-linear 0.03071 0.04971 0.22323) |
| XYZ D65 | color(xyz-d65 0.07073 0.05819 0.2187) |
| XYZ D50 | color(xyz-d50 0.06448 0.056 0.16466) |
| SwiftUI | Color(red: 0.192, green: 0.247, blue: 0.51) |
| UIKit | UIColor(red: 0.192, green: 0.247, blue: 0.51, alpha: 1) |
| Flutter / Compose | Color(0xFF313F82) |
| Android XML | #313F82 |

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

## Tints

#313f82, #42518f, #55649c, #6876a8, #7c89b5, #909cc2, #a6afce, #bbc3da, #d1d7e7, #e8ebf3

## Shades

#313f82, #293570, #222c5f, #1a234e, #131b3e, #0c122f, #060a20, #030412, #010106, #000001

## Tones

#313f82, #33407c, #354276, #374371, #39436b, #3b4465, #3d455f, #3f4559, #414653, #44464c

## Harmonies

- Complementary: #313f82, #5a4300
- Split: #313f82, #6f3400, #3d4e00
- Analogous: #313f82, #004b7c, #513478
- Triadic: #313f82, #77281c, #005624
- Tetradic: #313f82, #672b61, #5a4300, #005624
- Square: #313f82, #742542, #5a4300, #005549
- Monochromatic: #313f82, #05003b, #161d5e, #5061a8, #7285cf

## Questions about #313f82

### What color is #313f82?

#313f82 is soft dark indigo. The closest named color is Official Violet. In RGB it is rgb(49, 63, 130), in HSL hsl(229.63, 45.25%, 35.1%) and in OKLCH oklch(39.372% 0.11339 271.417).

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

The complementary color of #313f82 is #5a4300. For a calmer combination use the analogous colors #004b7c and #513478. The triadic partners are #77281c and #005624.

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

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

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

#313f82 is a cool color. In OKLCH its hue is 271 degrees, its lightness 39.4% and its chroma 0.113.
