Recognised as Colour
#502D96
- #502D96
- Violet
- Dark
- Nearest: Rebecca purple
#502D96 is a violet with RGB values 80, 45, 150 and HSL 260°, 54%, 38%. It is a dark colour, so white text on it reaches 9.7:1 contrast (AAA for normal text). The nearest named colour is Rebecca purple.
Colour values
#502D96#502D96
HEX#502D96
RGBrgb(80, 45, 150)
RGB (0–1)0.3137, 0.1765, 0.5882
RGB percentages31.4%, 17.6%, 58.8%
HSLhsl(260, 53.8%, 38.2%)
HSV / HSBhsv(260, 70%, 58.8%)
CMYK46.7%, 70%, 0%, 41.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,254,550
CSS custom property--colour: #502D96;
Brightness & contrast
Relative luminance0.05784WCAG 2.x, 0 is black and 1 is white
Perceived brightness75.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.74:1
Contrast with white9.74:1WCAG normal text: AAA
Contrast with black2.16:1WCAG normal text: Fail
Greyscale equivalent#3C3C3C
Inverted#AFD269
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.74:1WCAG large text: AAA
Contrast with black, large text2.16:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#73962D
Analogous#2D3F96, #842D96
Triadic#96502D, #2D9650
Split complementary#96852D, #3F962D
Tetradic#962D3F, #73962D, #2D9685
Tints, shades & saturation
Channel breakdown
R80
G45
B150
Red80 (31.4%)
Green45 (17.6%)
Blue150 (58.8%)
Hue260°
Saturation (HSL)53.85%
Lightness38.24%
Dominant channelBlue
Hex per channelR 50 · G 2D · B 96
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