#313A82 - Official Violet
Hex color #313A82 is called Official Violet. It consists of 19% red, 23% green, and 51% blue in RGB color space. In CMYK it is 62% cyan, 55% magenta, 0% yellow, and 49% black. In HSL it is 233° hue, 45% 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 | #313A82 | #313A82 |
| HEXA | #313A82FF | #313A82FF |
| RGB | 49, 58, 130 | rgb(49, 58, 130) |
| RGBA | 49, 58, 130, 1 | rgba(49, 58, 130, 1) |
| HSL | 233%, 45%, 35% | hsl(233%, 45%, 35%) |
| CMYK | 62%, 55%, 0%, 49% | cmyk(62%, 55%, 0%, 49%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 35% (dark) | — |
Negative color
The color opposite to #313A82 is #CEC57D.
Preview on black and white
As #313A82 has 35% lightness, this color is dark, so it has more contrast with white.
#313A82 On White Background
#313A82
#313A82
Text Color
This is how text looks with this color.
#313A82 On Black Background
#313A82
#313A82
Text Color
This is how text looks with this color.
Transform color
49, 58, 130rgb(49, 58, 130)