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