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