#240954 color
The hex color #240954 is a very dark, vivid violet.
In the RGB color model it is made of 14.1% red, 3.5% green and 32.9% blue (36, 9, 84).
Its hue angle is 262°, with 81% saturation and 18% lightness. For print, the CMYK equivalent is 57% cyan, 89% magenta, 0% yellow and 67% black.
The closest named color is Voldemort (#2D135F), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.91:1).
#240954 color codes
| HEX | #240954 | |
|---|---|---|
| RGB | rgb(36, 9, 84) | |
| RGB percent | rgb(14.1%, 3.5%, 32.9%) | |
| HSL | hsl(262, 81%, 18%) | |
| HSV / HSB | hsv(262, 89%, 33%) | |
| CMYK | cmyk(57%, 89%, 0%, 67%) | |
| CIE LAB | lab(10.63, 32.39, -39.53) | |
| CIE LCH | lch(10.63, 51.11, 309.33) | |
| CIE XYZ | xyz(2.425, 1.21, 8.492) | |
| Decimal | 2361684 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #240954, 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 #240954 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.91:1 | Pass | Pass | Pass |
| #240954 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.91:1 | Pass | Pass | Pass |
| Sample text | 1.24: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 #240954 looks to people with the most common types of color vision deficiency.
#001e56Protanopia
no red cones#001b53Deuteranopia
no green cones#12202fTritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #240954; }
.text { color: #240954; }
.border { border: 2px solid #240954; }
.transparent { background-color: rgb(36 9 84 / 50%); }
.gradient { background: linear-gradient(to right, #240954, #4a0954); }
Similar colors
#2d135fVoldemort#2f1064Infinite Inkwell#150f5bSpace Colonisation#0f084bSilent Twilight#220044Your Darkness#330055Hollow Knight#340059Cotinga Purple#0a0555Ravenclaw
Closest common color name: Midnight Blue.
Questions
- What color is #240954?
- #240954 is a very dark, vivid violet, closest to the named color Voldemort. It belongs to the black family of colors.
- What is the RGB value of #240954?
- The RGB value is 36, 9, 84: 36 red, 9 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #240954?
- The complementary color is #395409, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #240954?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.91:1. WCAG asks for at least 4.5:1 for normal text.