Recognised as Colour
#400DCD
- #400DCD
- Violet
- Dark
- Nearest: Medium blue
#400DCD is a violet with RGB values 64, 13, 205 and HSL 256°, 88%, 43%. It is a dark colour, so white text on it reaches 9.7:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#400DCD#400DCD
HEX#400DCD
RGBrgb(64, 13, 205)
RGB (0–1)0.251, 0.051, 0.8039
RGB percentages25.1%, 5.1%, 80.4%
HSLhsl(255.9, 88.1%, 42.7%)
HSV / HSBhsv(255.9, 93.7%, 80.4%)
CMYK68.8%, 93.7%, 0%, 19.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,197,837
CSS custom property--colour: #400DCD;
Brightness & contrast
Relative luminance0.05786WCAG 2.x, 0 is black and 1 is white
Perceived brightness78.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.74:1
Contrast with white9.74:1WCAG normal text: AAA
Contrast with black2.16:1WCAG normal text: Fail
Greyscale equivalent#262626
Inverted#BFF232
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.74:1WCAG large text: AAA
Contrast with black, large text2.16:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#9ACD0D
Analogous#0D3ACD, #A00DCD
Triadic#CD400D, #0DCD40
Split complementary#CDA00D, #3ACD0D
Tetradic#CD0D3A, #9ACD0D, #0DCDA0
Tints, shades & saturation
Channel breakdown
R64
G13
B205
Red64 (25.1%)
Green13 (5.1%)
Blue205 (80.4%)
Hue255.94°
Saturation (HSL)88.07%
Lightness42.75%
Dominant channelBlue
Hex per channelR 40 · G 0D · B CD
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