#2A1A6B - Nebula Night
Hex color #2A1A6B is called Nebula Night. It consists of 16% red, 10% green, and 42% blue in RGB color space. In CMYK it is 61% cyan, 76% magenta, 0% yellow, and 58% black. In HSL it is 252° hue, 61% saturation, and 26% 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 | Nebula Night | — |
| HEX | #2A1A6B | #2A1A6B |
| HEXA | #2A1A6BFF | #2A1A6BFF |
| RGB | 42, 26, 107 | rgb(42, 26, 107) |
| RGBA | 42, 26, 107, 1 | rgba(42, 26, 107, 1) |
| HSL | 252%, 61%, 26% | hsl(252%, 61%, 26%) |
| CMYK | 61%, 76%, 0%, 58% | cmyk(61%, 76%, 0%, 58%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 26% (dark) | — |
Negative color
The color opposite to #2A1A6B is #D5E594.
Preview on black and white
As #2A1A6B has 26% lightness, this color is dark, so it has more contrast with white.
#2A1A6B On White Background
#2A1A6B
#2A1A6B
Text Color
This is how text looks with this color.
#2A1A6B On Black Background
#2A1A6B
#2A1A6B
Text Color
This is how text looks with this color.
Transform color
42, 26, 107rgb(42, 26, 107)