Recognised as Colour
#4D28B2
- #4D28B2
- Violet
- Dark
- Nearest: Dark blue
#4D28B2 is a violet with RGB values 77, 40, 178 and HSL 256°, 63%, 43%. It is a dark colour, so white text on it reaches 9.3:1 contrast (AAA for normal text). The nearest named colour is Dark blue.
Colour values
#4D28B2#4D28B2
HEX#4D28B2
RGBrgb(77, 40, 178)
RGB (0–1)0.302, 0.1569, 0.698
RGB percentages30.2%, 15.7%, 69.8%
HSLhsl(256.1, 63.3%, 42.7%)
HSV / HSBhsv(256.1, 77.5%, 69.8%)
CMYK56.7%, 77.5%, 0%, 30.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,056,690
CSS custom property--colour: #4D28B2;
Brightness & contrast
Relative luminance0.0631WCAG 2.x, 0 is black and 1 is white
Perceived brightness79.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.28:1
Contrast with white9.28:1WCAG normal text: AAA
Contrast with black2.26:1WCAG normal text: Fail
Greyscale equivalent#3A3A3A
Inverted#B2D74D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.28:1WCAG large text: AAA
Contrast with black, large text2.26:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8DB228
Analogous#2848B2, #9228B2
Triadic#B24D28, #28B24D
Split complementary#B29228, #48B228
Tetradic#B22848, #8DB228, #28B292
Tints, shades & saturation
Channel breakdown
R77
G40
B178
Red77 (30.2%)
Green40 (15.7%)
Blue178 (69.8%)
Hue256.09°
Saturation (HSL)63.3%
Lightness42.75%
Dominant channelBlue
Hex per channelR 4D · G 28 · B B2
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page