#312148 - Elderberry
Hex color #312148 is called Elderberry. It consists of 19% red, 13% green, and 28% blue in RGB color space. In CMYK it is 32% cyan, 54% magenta, 0% yellow, and 72% black. In HSL it is 265° hue, 37% saturation, and 21% 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 | Elderberry | — |
| HEX | #312148 | #312148 |
| HEXA | #312148FF | #312148FF |
| RGB | 49, 33, 72 | rgb(49, 33, 72) |
| RGBA | 49, 33, 72, 1 | rgba(49, 33, 72, 1) |
| HSL | 265%, 37%, 21% | hsl(265%, 37%, 21%) |
| CMYK | 32%, 54%, 0%, 72% | cmyk(32%, 54%, 0%, 72%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 21% (dark) | — |
Negative color
The color opposite to #312148 is #CEDEB7.
Preview on black and white
As #312148 has 21% lightness, this color is dark, so it has more contrast with white.
#312148 On White Background
#312148
#312148
Text Color
This is how text looks with this color.
#312148 On Black Background
#312148
#312148
Text Color
This is how text looks with this color.
Transform color
49, 33, 72rgb(49, 33, 72)