Recognised as Colour
#240B50
- #240B50
- Violet
- Dark
- Nearest: Midnight blue
#240B50 is a violet with RGB values 36, 11, 80 and HSL 262°, 76%, 18%. It is a dark colour, so white text on it reaches 17:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#240B50#240B50
HEX#240B50
RGBrgb(36, 11, 80)
RGB (0–1)0.1412, 0.0431, 0.3137
RGB percentages14.1%, 4.3%, 31.4%
HSLhsl(261.7, 75.8%, 17.8%)
HSV / HSBhsv(261.7, 86.3%, 31.4%)
CMYK55%, 86.3%, 0%, 68.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,362,192
CSS custom property--colour: #240B50;
Brightness & contrast
Relative luminance0.01194WCAG 2.x, 0 is black and 1 is white
Perceived brightness34.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.95:1
Contrast with white16.95:1WCAG normal text: AAA
Contrast with black1.24:1WCAG normal text: Fail
Greyscale equivalent#151515
Inverted#DBF4AF
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.95:1WCAG large text: AAA
Contrast with black, large text1.24:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#37500B
Analogous#0B1450, #460B50
Triadic#50240B, #0B5024
Split complementary#50470B, #14500B
Tetradic#500B15, #37500B, #0B5047
Tints, shades & saturation
Channel breakdown
R36
G11
B80
Red36 (14.1%)
Green11 (4.3%)
Blue80 (31.4%)
Hue261.74°
Saturation (HSL)75.82%
Lightness17.84%
Dominant channelBlue
Hex per channelR 24 · G 0B · B 50
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