#6874AB - Midnight Violet
Hex color #6874AB is called Midnight Violet. It consists of 41% red, 45% green, and 67% blue in RGB color space. In CMYK it is 39% cyan, 32% magenta, 0% yellow, and 33% black. In HSL it is 229° hue, 29% 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 | #6874AB | #6874AB |
| HEXA | #6874ABFF | #6874ABFF |
| RGB | 104, 116, 171 | rgb(104, 116, 171) |
| RGBA | 104, 116, 171, 1 | rgba(104, 116, 171, 1) |
| HSL | 229%, 29%, 54% | hsl(229%, 29%, 54%) |
| CMYK | 39%, 32%, 0%, 33% | cmyk(39%, 32%, 0%, 33%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 54% (light) | — |
Negative color
The color opposite to #6874AB is #978B54.
Preview on black and white
As #6874AB has 54% lightness, this color is dark, so it has more contrast with white.
#6874AB On White Background
#6874AB
#6874AB
Text Color
This is how text looks with this color.
#6874AB On Black Background
#6874AB
#6874AB
Text Color
This is how text looks with this color.
Transform color
104, 116, 171rgb(104, 116, 171)