Recognised as Colour
#240C31
- #240C31
- Violet
- Dark
- Nearest: Black
#240C31 is a violet with RGB values 36, 12, 49 and HSL 279°, 61%, 12%. It is a dark colour, so white text on it reaches 17.9:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#240C31#240C31
HEX#240C31
RGBrgb(36, 12, 49)
RGB (0–1)0.1412, 0.0471, 0.1922
RGB percentages14.1%, 4.7%, 19.2%
HSLhsl(278.9, 60.7%, 12%)
HSV / HSBhsv(278.9, 75.5%, 19.2%)
CMYK26.5%, 75.5%, 0%, 80.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,362,417
CSS custom property--colour: #240C31;
Brightness & contrast
Relative luminance0.0086WCAG 2.x, 0 is black and 1 is white
Perceived brightness27.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.92:1
Contrast with white17.92:1WCAG normal text: AAA
Contrast with black1.17:1WCAG normal text: Fail
Greyscale equivalent#141414
Inverted#DBF3CE
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.92:1WCAG large text: AAA
Contrast with black, large text1.17:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#19310C
Analogous#120C31, #310C2B
Triadic#31240C, #0C3124
Split complementary#2C310C, #0C3111
Tetradic#31110C, #19310C, #0C2B31
Tints, shades & saturation
Channel breakdown
R36
G12
B49
Red36 (14.1%)
Green12 (4.7%)
Blue49 (19.2%)
Hue278.92°
Saturation (HSL)60.66%
Lightness11.96%
Dominant channelBlue
Hex per channelR 24 · G 0C · B 31
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page