#313F84 - Official Violet
Hex color #313F84 is called Official Violet. It consists of 19% red, 25% green, and 52% blue in RGB color space. In CMYK it is 63% cyan, 52% magenta, 0% yellow, and 48% black. In HSL it is 230° hue, 46% saturation, and 35% lightness (dark) . On this page you can get both color properties and CSS values for such color schemas: HEX, HEXA, RGB, RGBA, HSL, and CMYK; color name, CSS color name, tailwind name for color; shades and tints; monochromatic colors; negative color; and other info.
| Property | Value | CSS |
|---|---|---|
| Name | Official Violet | — |
| HEX | #313F84 | #313F84 |
| HEXA | #313F84FF | #313F84FF |
| RGB | 49, 63, 132 | rgb(49, 63, 132) |
| RGBA | 49, 63, 132, 1 | rgba(49, 63, 132, 1) |
| HSL | 230%, 46%, 35% | hsl(230%, 46%, 35%) |
| CMYK | 63%, 52%, 0%, 48% | cmyk(63%, 52%, 0%, 48%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 35% (dark) | — |
Negative color
The color opposite to #313F84 is #CEC07B.
Preview on black and white
As #313F84 has 35% lightness, this color is dark, so it has more contrast with white.
#313F84 On White Background
#313F84
#313F84
Text Color
This is how text looks with this color.
#313F84 On Black Background
#313F84
#313F84
Text Color
This is how text looks with this color.
Transform color
49, 63, 132rgb(49, 63, 132)