#240C41 color
The hex color #240C41 is a very dark, moderate violet.
In the RGB color model it is made of 14.1% red, 4.7% green and 25.5% blue (36, 12, 65).
Its hue angle is 267°, with 69% saturation and 15% lightness. For print, the CMYK equivalent is 45% cyan, 82% magenta, 0% yellow and 75% black.
The closest named color is Quiet Abyss (#160435), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.44:1).
#240C41 color codes
| HEX | #240C41 | |
|---|---|---|
| RGB | rgb(36, 12, 65) | |
| RGB percent | rgb(14.1%, 4.7%, 25.5%) | |
| HSL | hsl(267, 69%, 15%) | |
| HSV / HSB | hsv(267, 82%, 25%) | |
| CMYK | cmyk(45%, 82%, 0%, 75%) | |
| CIE LAB | lab(9.15, 25.17, -28.73) | |
| CIE LCH | lch(9.15, 38.2, 311.22) | |
| CIE XYZ | xyz(1.813, 1.02, 5.101) | |
| Decimal | 2362433 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #240C41, 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 #240C41 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.2:1 | Fail | Fail | Fail |
| Sample text | 17.44:1 | Pass | Pass | Pass |
| #240C41 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.44:1 | Pass | Pass | Pass |
| Sample text | 1.2: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 #240C41 looks to people with the most common types of color vision deficiency.
#001a43Protanopia
no red cones#001940Deuteranopia
no green cones#1d1925Tritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #240c41; }
.text { color: #240c41; }
.border { border: 2px solid #240c41; }
.transparent { background-color: rgb(36 12 65 / 50%); }
.gradient { background: linear-gradient(to right, #240c41, #3e0c41); }
Similar colors
#160435Quiet Abyss#220044Your Darkness#220033Coal Mine#1c0f33Midnight Monarch#341758Fabric of Space#111144Deadly Depths#231c4dSilent Orbit#0f084bSilent Twilight
Closest common color name: Dark Purple.
Questions
- What color is #240C41?
- #240C41 is a very dark, moderate violet, closest to the named color Quiet Abyss. It belongs to the black family of colors.
- What is the RGB value of #240C41?
- The RGB value is 36, 12, 65: 36 red, 12 green and 65 blue on a 0 to 255 scale.
- What is the complementary color of #240C41?
- The complementary color is #29410C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #240C41?
- White text. Black text has a contrast ratio of 1.2:1 and white text 17.44:1. WCAG asks for at least 4.5:1 for normal text.