Recognised as Colour
#502D70
- #502D70
- Violet
- Dark
- Nearest: Dark slateblue
#502D70 is a violet with RGB values 80, 45, 112 and HSL 271°, 43%, 31%. It is a dark colour, so white text on it reaches 10.8:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#502D70#502D70
HEX#502D70
RGBrgb(80, 45, 112)
RGB (0–1)0.3137, 0.1765, 0.4392
RGB percentages31.4%, 17.6%, 43.9%
HSLhsl(271.3, 42.7%, 30.8%)
HSV / HSBhsv(271.3, 59.8%, 43.9%)
CMYK28.6%, 59.8%, 0%, 56.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,254,512
CSS custom property--colour: #502D70;
Brightness & contrast
Relative luminance0.04752WCAG 2.x, 0 is black and 1 is white
Perceived brightness67.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.77:1
Contrast with white10.77:1WCAG normal text: AAA
Contrast with black1.95:1WCAG normal text: Fail
Greyscale equivalent#393939
Inverted#AFD28F
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text10.77:1WCAG large text: AAA
Contrast with black, large text1.95:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4D702D
Analogous#2E2D70, #702D6F
Triadic#70502D, #2D7050
Split complementary#6F702D, #2D702F
Tetradic#702F2D, #4D702D, #2D6F70
Tints, shades & saturation
Channel breakdown
R80
G45
B112
Red80 (31.4%)
Green45 (17.6%)
Blue112 (43.9%)
Hue271.34°
Saturation (HSL)42.68%
Lightness30.78%
Dominant channelBlue
Hex per channelR 50 · G 2D · B 70
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