#240954 color

#240954 rgb(36, 9, 84)
Shades of black

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
RGBrgb(36, 9, 84)
RGB percentrgb(14.1%, 3.5%, 32.9%)
HSLhsl(262, 81%, 18%)
HSV / HSBhsv(262, 89%, 33%)
CMYKcmyk(57%, 89%, 0%, 67%)
CIE LABlab(10.63, 32.39, -39.53)
CIE LCHlch(10.63, 51.11, 309.33)
CIE XYZxyz(2.425, 1.21, 8.492)
Decimal2361684
Short hexNone (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 #240954RatioAAAAAAA large
Sample text1.24:1FailFailFail
Sample text16.91:1PassPassPass
#240954 as text onRatioAAAAAAA large
Sample text16.91:1PassPassPass
Sample text1.24: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 #240954 looks to people with the most common types of color vision deficiency.

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

Similar colors

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.