Recognised as Colour
#40035F
- #40035F
- Violet
- Dark
- Nearest: Midnight blue
#40035F is a violet with RGB values 64, 3, 95 and HSL 280°, 94%, 19%. It is a dark colour, so white text on it reaches 15:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#40035F#40035F
HEX#40035F
RGBrgb(64, 3, 95)
RGB (0–1)0.251, 0.0118, 0.3725
RGB percentages25.1%, 1.2%, 37.3%
HSLhsl(279.8, 93.9%, 19.2%)
HSV / HSBhsv(279.8, 96.8%, 37.3%)
CMYK32.6%, 96.8%, 0%, 62.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,195,167
CSS custom property--colour: #40035F;
Brightness & contrast
Relative luminance0.01981WCAG 2.x, 0 is black and 1 is white
Perceived brightness47.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.04:1
Contrast with white15.04:1WCAG normal text: AAA
Contrast with black1.4:1WCAG normal text: Fail
Greyscale equivalent#171717
Inverted#BFFCA0
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.04:1WCAG large text: AAA
Contrast with black, large text1.4:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#225F03
Analogous#12035F, #5F0350
Triadic#5F4003, #035F40
Split complementary#505F03, #035F12
Tetradic#5F1203, #225F03, #03505F
Tints, shades & saturation
Channel breakdown
R64
G3
B95
Red64 (25.1%)
Green3 (1.2%)
Blue95 (37.3%)
Hue279.78°
Saturation (HSL)93.88%
Lightness19.22%
Dominant channelBlue
Hex per channelR 40 · G 03 · B 5F
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