#313F89 - Official Violet
Hex color #313F89 is called Official Violet. It consists of 19% red, 25% green, and 54% blue in RGB color space. In CMYK it is 64% cyan, 54% magenta, 0% yellow, and 46% black. In HSL it is 230° hue, 47% saturation, and 36% 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 | #313F89 | #313F89 |
| HEXA | #313F89FF | #313F89FF |
| RGB | 49, 63, 137 | rgb(49, 63, 137) |
| RGBA | 49, 63, 137, 1 | rgba(49, 63, 137, 1) |
| HSL | 230%, 47%, 36% | hsl(230%, 47%, 36%) |
| CMYK | 64%, 54%, 0%, 46% | cmyk(64%, 54%, 0%, 46%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 36% (dark) | — |
Negative color
The color opposite to #313F89 is #CEC076.
Preview on black and white
As #313F89 has 36% lightness, this color is dark, so it has more contrast with white.
#313F89 On White Background
#313F89
#313F89
Text Color
This is how text looks with this color.
#313F89 On Black Background
#313F89
#313F89
Text Color
This is how text looks with this color.
Transform color
49, 63, 137rgb(49, 63, 137)