#240940 color

#240940 rgb(36, 9, 64)
Shades of black

The hex color #240940 is a very dark, moderate violet.

In the RGB color model it is made of 14.1% red, 3.5% green and 25.1% blue (36, 9, 64).

Its hue angle is 269°, with 75% saturation and 14% lightness. For print, the CMYK equivalent is 44% cyan, 86% magenta, 0% yellow and 75% black.

The closest named color is Your Darkness (#220044), a difference of 2.9 ΔE, a small difference.

White text is the more readable choice on this background (contrast 17.67:1).

#240940 color codes

HEX#240940
RGBrgb(36, 9, 64)
RGB percentrgb(14.1%, 3.5%, 25.1%)
HSLhsl(269, 75%, 14%)
HSV / HSBhsv(269, 86%, 25%)
CMYKcmyk(44%, 86%, 0%, 75%)
CIE LABlab(8.49, 26.49, -29.11)
CIE LCHlch(8.49, 39.36, 312.31)
CIE XYZxyz(1.75, 0.941, 4.939)
Decimal2361664
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #240940, 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 #240940RatioAAAAAAA large
Sample text1.19:1FailFailFail
Sample text17.67:1PassPassPass
#240940 as text onRatioAAAAAAA large
Sample text17.67:1PassPassPass
Sample text1.19: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 #240940 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #240940; }
.text { color: #240940; }
.border { border: 2px solid #240940; }
.transparent { background-color: rgb(36 9 64 / 50%); }
.gradient { background: linear-gradient(to right, #240940, #400940); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #240940?
#240940 is a very dark, moderate violet, closest to the named color Your Darkness. It belongs to the black family of colors.
What is the RGB value of #240940?
The RGB value is 36, 9, 64: 36 red, 9 green and 64 blue on a 0 to 255 scale.
What is the complementary color of #240940?
The complementary color is #254009, found by rotating the hue 180° on the color wheel.
Is black or white text better on #240940?
White text. Black text has a contrast ratio of 1.19:1 and white text 17.67:1. WCAG asks for at least 4.5:1 for normal text.