Recognised as Colour
#4A128B
- #4A128B
- Violet
- Dark
- Nearest: Indigo
#4A128B is a violet with RGB values 74, 18, 139 and HSL 268°, 77%, 31%. It is a dark colour, so white text on it reaches 12:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#4A128B#4A128B
HEX#4A128B
RGBrgb(74, 18, 139)
RGB (0–1)0.2902, 0.0706, 0.5451
RGB percentages29%, 7.1%, 54.5%
HSLhsl(267.8, 77.1%, 30.8%)
HSV / HSBhsv(267.8, 87.1%, 54.5%)
CMYK46.8%, 87.1%, 0%, 45.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,854,411
CSS custom property--colour: #4A128B;
Brightness & contrast
Relative luminance0.03753WCAG 2.x, 0 is black and 1 is white
Perceived brightness63.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12:1
Contrast with white12:1WCAG normal text: AAA
Contrast with black1.75:1WCAG normal text: Fail
Greyscale equivalent#272727
Inverted#B5ED74
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12:1WCAG large text: AAA
Contrast with black, large text1.75:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#538B12
Analogous#12168B, #87128B
Triadic#8B4A12, #128B4A
Split complementary#8B8712, #168B12
Tetradic#8B1216, #538B12, #128B87
Tints, shades & saturation
Channel breakdown
R74
G18
B139
Red74 (29%)
Green18 (7.1%)
Blue139 (54.5%)
Hue267.77°
Saturation (HSL)77.07%
Lightness30.78%
Dominant channelBlue
Hex per channelR 4A · G 12 · B 8B
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