Recognised as Colour
#4002C2
- #4002C2
- Violet
- Dark
- Nearest: Medium blue
#4002C2 is a violet with RGB values 64, 2, 194 and HSL 259°, 98%, 38%. It is a dark colour, so white text on it reaches 10.5:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#4002C2#4002C2
HEX#4002C2
RGBrgb(64, 2, 194)
RGB (0–1)0.251, 0.0078, 0.7608
RGB percentages25.1%, 0.8%, 76.1%
HSLhsl(259.4, 98%, 38.4%)
HSV / HSBhsv(259.4, 99%, 76.1%)
CMYK67%, 99%, 0%, 23.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,195,010
CSS custom property--colour: #4002C2;
Brightness & contrast
Relative luminance0.05028WCAG 2.x, 0 is black and 1 is white
Perceived brightness74.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.47:1
Contrast with white10.47:1WCAG normal text: AAA
Contrast with black2.01:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#BFFD3D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.47:1WCAG large text: AAA
Contrast with black, large text2.01:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#84C202
Analogous#0224C2, #A002C2
Triadic#C24002, #02C240
Split complementary#C2A002, #24C202
Tetradic#C20224, #84C202, #02C2A0
Tints, shades & saturation
Channel breakdown
R64
G2
B194
Red64 (25.1%)
Green2 (0.8%)
Blue194 (76.1%)
Hue259.38°
Saturation (HSL)97.96%
Lightness38.43%
Dominant channelBlue
Hex per channelR 40 · G 02 · B C2
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