Recognised as Colour
#5012EB
- #5012EB
- Violet
- Dark
- Nearest: Medium blue
#5012EB is a violet with RGB values 80, 18, 235 and HSL 257°, 86%, 50%. It is a dark colour, so white text on it reaches 8:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#5012EB#5012EB
HEX#5012EB
RGBrgb(80, 18, 235)
RGB (0–1)0.3137, 0.0706, 0.9216
RGB percentages31.4%, 7.1%, 92.2%
HSLhsl(257.1, 85.8%, 49.6%)
HSV / HSBhsv(257.1, 92.3%, 92.2%)
CMYK66%, 92.3%, 0%, 7.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,247,723
CSS custom property--colour: #5012EB;
Brightness & contrast
Relative luminance0.08136WCAG 2.x, 0 is black and 1 is white
Perceived brightness91.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.99:1
Contrast with white7.99:1WCAG normal text: AAA
Contrast with black2.63:1WCAG normal text: Fail
Greyscale equivalent#2F2F2F
Inverted#AFED14
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.99:1WCAG large text: AAA
Contrast with black, large text2.63:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#ADEB12
Analogous#1241EB, #BC12EB
Triadic#EB5012, #12EB50
Split complementary#EBBC12, #41EB12
Tetradic#EB1241, #ADEB12, #12EBBC
Tints, shades & saturation
Channel breakdown
R80
G18
B235
Red80 (31.4%)
Green18 (7.1%)
Blue235 (92.2%)
Hue257.14°
Saturation (HSL)85.77%
Lightness49.61%
Dominant channelBlue
Hex per channelR 50 · G 12 · B EB
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