#6A78AA - Midnight Violet
Hex color #6A78AA is called Midnight Violet. It consists of 42% red, 47% green, and 67% blue in RGB color space. In CMYK it is 38% cyan, 29% magenta, 0% yellow, and 33% black. In HSL it is 227° hue, 27% saturation, and 54% lightness (light) . 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 | Midnight Violet | — |
| HEX | #6A78AA | #6A78AA |
| HEXA | #6A78AAFF | #6A78AAFF |
| RGB | 106, 120, 170 | rgb(106, 120, 170) |
| RGBA | 106, 120, 170, 1 | rgba(106, 120, 170, 1) |
| HSL | 227%, 27%, 54% | hsl(227%, 27%, 54%) |
| CMYK | 38%, 29%, 0%, 33% | cmyk(38%, 29%, 0%, 33%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 54% (light) | — |
Negative color
The color opposite to #6A78AA is #958755.
Preview on black and white
As #6A78AA has 54% lightness, this color is dark, so it has more contrast with white.
#6A78AA On White Background
#6A78AA
#6A78AA
Text Color
This is how text looks with this color.
#6A78AA On Black Background
#6A78AA
#6A78AA
Text Color
This is how text looks with this color.
Transform color
106, 120, 170rgb(106, 120, 170)