#240144 color
The hex color #240144 is a very dark, vivid violet.
In the RGB color model it is made of 14.1% red, 0.4% green and 26.7% blue (36, 1, 68).
Its hue angle is 271°, with 97% saturation and 14% lightness. For print, the CMYK equivalent is 47% cyan, 99% magenta, 0% yellow and 73% black.
The closest named color is Your Darkness (#220044), a difference of 0.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.06:1).
#240144 color codes
| HEX | #240144 | |
|---|---|---|
| RGB | rgb(36, 1, 68) | |
| RGB percent | rgb(14.1%, 0.4%, 26.7%) | |
| HSL | hsl(271, 97%, 14%) | |
| HSV / HSB | hsv(271, 99%, 27%) | |
| CMYK | cmyk(47%, 99%, 0%, 73%) | |
| CIE LAB | lab(7.35, 32.15, -33.81) | |
| CIE LCH | lch(7.35, 46.65, 313.57) | |
| CIE XYZ | xyz(1.782, 0.814, 5.531) | |
| Decimal | 2359620 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #240144, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #240144 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.06:1 | Pass | Pass | Pass |
| #240144 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.06:1 | Pass | Pass | Pass |
| Sample text | 1.16:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #240144 looks to people with the most common types of color vision deficiency.
#001646Protanopia
no red cones#001643Deuteranopia
no green cones#1c1524Tritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #240144; }
.text { color: #240144; }
.border { border: 2px solid #240144; }
.transparent { background-color: rgb(36 1 68 / 50%); }
.gradient { background: linear-gradient(to right, #240144, #440143); }
Similar colors
#220044Your Darkness#330055Hollow Knight#220033Coal Mine#340059Cotinga Purple#0f084bSilent Twilight#160435Quiet Abyss#37115cWicked Purple#3b0346Romanic Scene
Closest common color name: Midnight Blue.
Questions
- What color is #240144?
- #240144 is a very dark, vivid violet, closest to the named color Your Darkness. It belongs to the black family of colors.
- What is the RGB value of #240144?
- The RGB value is 36, 1, 68: 36 red, 1 green and 68 blue on a 0 to 255 scale.
- What is the complementary color of #240144?
- The complementary color is #214401, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #240144?
- White text. Black text has a contrast ratio of 1.16:1 and white text 18.06:1. WCAG asks for at least 4.5:1 for normal text.