Recognised as Colour
#502F97
- #502F97
- Violet
- Dark
- Nearest: Rebecca purple
#502F97 is a violet with RGB values 80, 47, 151 and HSL 259°, 53%, 39%. It is a dark colour, so white text on it reaches 9.6:1 contrast (AAA for normal text). The nearest named colour is Rebecca purple.
Colour values
#502F97#502F97
HEX#502F97
RGBrgb(80, 47, 151)
RGB (0–1)0.3137, 0.1843, 0.5922
RGB percentages31.4%, 18.4%, 59.2%
HSLhsl(259, 52.5%, 38.8%)
HSV / HSBhsv(259, 68.9%, 59.2%)
CMYK47%, 68.9%, 0%, 40.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,255,063
CSS custom property--colour: #502F97;
Brightness & contrast
Relative luminance0.05973WCAG 2.x, 0 is black and 1 is white
Perceived brightness76.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.57:1
Contrast with white9.57:1WCAG normal text: AAA
Contrast with black2.19:1WCAG normal text: Fail
Greyscale equivalent#3E3E3E
Inverted#AFD068
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.57:1WCAG large text: AAA
Contrast with black, large text2.19:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#76972F
Analogous#2F4297, #842F97
Triadic#97502F, #2F9750
Split complementary#97842F, #42972F
Tetradic#972F42, #76972F, #2F9784
Tints, shades & saturation
Channel breakdown
R80
G47
B151
Red80 (31.4%)
Green47 (18.4%)
Blue151 (59.2%)
Hue259.04°
Saturation (HSL)52.53%
Lightness38.82%
Dominant channelBlue
Hex per channelR 50 · G 2F · B 97
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