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