Recognised as Colour
#5F12DE
- #5F12DE
- Violet
- Dark
- Nearest: Medium blue
#5F12DE is a violet with RGB values 95, 18, 222 and HSL 263°, 85%, 47%. 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
#5F12DE#5F12DE
HEX#5F12DE
RGBrgb(95, 18, 222)
RGB (0–1)0.3725, 0.0706, 0.8706
RGB percentages37.3%, 7.1%, 87.1%
HSLhsl(262.6, 85%, 47.1%)
HSV / HSBhsv(262.6, 91.9%, 87.1%)
CMYK57.2%, 91.9%, 0%, 12.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,230,750
CSS custom property--colour: #5F12DE;
Brightness & contrast
Relative luminance0.08139WCAG 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.99:1
Contrast with white7.99:1WCAG normal text: AAA
Contrast with black2.63:1WCAG normal text: Fail
Greyscale equivalent#313131
Inverted#A0ED21
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#91DE12
Analogous#122BDE, #C512DE
Triadic#DE5F12, #12DE5F
Split complementary#DEC512, #2BDE12
Tetradic#DE122B, #91DE12, #12DEC5
Tints, shades & saturation
Channel breakdown
R95
G18
B222
Red95 (37.3%)
Green18 (7.1%)
Blue222 (87.1%)
Hue262.65°
Saturation (HSL)85%
Lightness47.06%
Dominant channelBlue
Hex per channelR 5F · G 12 · B DE
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