#240C41 color

#240C41 rgb(36, 12, 65)
Shades of black

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
RGBrgb(36, 12, 65)
RGB percentrgb(14.1%, 4.7%, 25.5%)
HSLhsl(267, 69%, 15%)
HSV / HSBhsv(267, 82%, 25%)
CMYKcmyk(45%, 82%, 0%, 75%)
CIE LABlab(9.15, 25.17, -28.73)
CIE LCHlch(9.15, 38.2, 311.22)
CIE XYZxyz(1.813, 1.02, 5.101)
Decimal2362433
Short hexNone (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 #240C41RatioAAAAAAA large
Sample text1.2:1FailFailFail
Sample text17.44:1PassPassPass
#240C41 as text onRatioAAAAAAA large
Sample text17.44:1PassPassPass
Sample text1.2:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.