Recognised as Colour
#240F59
- #240F59
- Violet
- Dark
- Nearest: Midnight blue
#240F59 is a violet with RGB values 36, 15, 89 and HSL 257°, 71%, 20%. It is a dark colour, so white text on it reaches 16.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#240F59#240F59
HEX#240F59
RGBrgb(36, 15, 89)
RGB (0–1)0.1412, 0.0588, 0.349
RGB percentages14.1%, 5.9%, 34.9%
HSLhsl(257, 71.2%, 20.4%)
HSV / HSBhsv(257, 83.1%, 34.9%)
CMYK59.6%, 83.1%, 0%, 65.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,363,225
CSS custom property--colour: #240F59;
Brightness & contrast
Relative luminance0.01438WCAG 2.x, 0 is black and 1 is white
Perceived brightness37.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.31:1
Contrast with white16.31:1WCAG normal text: AAA
Contrast with black1.29:1WCAG normal text: Fail
Greyscale equivalent#191919
Inverted#DBF0A6
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.31:1WCAG large text: AAA
Contrast with black, large text1.29:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#44590F
Analogous#0F1F59, #490F59
Triadic#59240F, #0F5924
Split complementary#59490F, #1F590F
Tetradic#590F1F, #44590F, #0F5949
Tints, shades & saturation
Channel breakdown
R36
G15
B89
Red36 (14.1%)
Green15 (5.9%)
Blue89 (34.9%)
Hue257.03°
Saturation (HSL)71.15%
Lightness20.39%
Dominant channelBlue
Hex per channelR 24 · G 0F · B 59
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