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