Recognised as Colour
#5A12CE
- #5A12CE
- Violet
- Dark
- Nearest: Blue violet
#5A12CE is a violet with RGB values 90, 18, 206 and HSL 263°, 84%, 44%. It is a dark colour, so white text on it reaches 8.7:1 contrast (AAA for normal text). The nearest named colour is Blue violet.
Colour values
#5A12CE#5A12CE
HEX#5A12CE
RGBrgb(90, 18, 206)
RGB (0–1)0.3529, 0.0706, 0.8078
RGB percentages35.3%, 7.1%, 80.8%
HSLhsl(263, 83.9%, 43.9%)
HSV / HSBhsv(263, 91.3%, 80.8%)
CMYK56.3%, 91.3%, 0%, 19.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,903,054
CSS custom property--colour: #5A12CE;
Brightness & contrast
Relative luminance0.07063WCAG 2.x, 0 is black and 1 is white
Perceived brightness86.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.7:1
Contrast with white8.7:1WCAG normal text: AAA
Contrast with black2.41:1WCAG normal text: Fail
Greyscale equivalent#2F2F2F
Inverted#A5ED31
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.7:1WCAG large text: AAA
Contrast with black, large text2.41:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#86CE12
Analogous#1228CE, #B812CE
Triadic#CE5A12, #12CE5A
Split complementary#CEB812, #28CE12
Tetradic#CE1228, #86CE12, #12CEB8
Tints, shades & saturation
Channel breakdown
R90
G18
B206
Red90 (35.3%)
Green18 (7.1%)
Blue206 (80.8%)
Hue262.98°
Saturation (HSL)83.93%
Lightness43.92%
Dominant channelBlue
Hex per channelR 5A · G 12 · B CE
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