Recognised as Colour
#5212EB
- #5212EB
- Violet
- Dark
- Nearest: Medium blue
#5212EB is a violet with RGB values 82, 18, 235 and HSL 258°, 86%, 50%. It is a dark colour, so white text on it reaches 7.9:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#5212EB#5212EB
HEX#5212EB
RGBrgb(82, 18, 235)
RGB (0–1)0.3216, 0.0706, 0.9216
RGB percentages32.2%, 7.1%, 92.2%
HSLhsl(257.7, 85.8%, 49.6%)
HSV / HSBhsv(257.7, 92.3%, 92.2%)
CMYK65.1%, 92.3%, 0%, 7.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,378,795
CSS custom property--colour: #5212EB;
Brightness & contrast
Relative luminance0.08225WCAG 2.x, 0 is black and 1 is white
Perceived brightness92.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.94:1
Contrast with white7.94:1WCAG normal text: AAA
Contrast with black2.64:1WCAG normal text: Fail
Greyscale equivalent#2F2F2F
Inverted#ADED14
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.94:1WCAG large text: AAA
Contrast with black, large text2.64:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#ABEB12
Analogous#123FEB, #BE12EB
Triadic#EB5212, #12EB52
Split complementary#EBBE12, #3FEB12
Tetradic#EB123F, #ABEB12, #12EBBE
Tints, shades & saturation
Channel breakdown
R82
G18
B235
Red82 (32.2%)
Green18 (7.1%)
Blue235 (92.2%)
Hue257.7°
Saturation (HSL)85.77%
Lightness49.61%
Dominant channelBlue
Hex per channelR 52 · 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