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