#2A083D - Midnight Purple
Hex color #2A083D is called Midnight Purple. It consists of 16% red, 3% green, and 24% blue in RGB color space. In CMYK it is 31% cyan, 87% magenta, 0% yellow, and 76% black. In HSL it is 278° hue, 77% saturation, and 14% 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 | Midnight Purple | — |
| HEX | #2A083D | #2A083D |
| HEXA | #2A083DFF | #2A083DFF |
| RGB | 42, 8, 61 | rgb(42, 8, 61) |
| RGBA | 42, 8, 61, 1 | rgba(42, 8, 61, 1) |
| HSL | 278%, 77%, 14% | hsl(278%, 77%, 14%) |
| CMYK | 31%, 87%, 0%, 76% | cmyk(31%, 87%, 0%, 76%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 14% (dark) | — |
Negative color
The color opposite to #2A083D is #D5F7C2.
Preview on black and white
As #2A083D has 14% lightness, this color is dark, so it has more contrast with white.
#2A083D On White Background
#2A083D
#2A083D
Text Color
This is how text looks with this color.
#2A083D On Black Background
#2A083D
#2A083D
Text Color
This is how text looks with this color.
Transform color
42, 8, 61rgb(42, 8, 61)