Recognised as Colour
#40199A
- #40199A
- Violet
- Dark
- Nearest: Indigo
#40199A is a violet with RGB values 64, 25, 154 and HSL 258°, 72%, 35%. It is a dark colour, so white text on it reaches 11.5:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#40199A#40199A
HEX#40199A
RGBrgb(64, 25, 154)
RGB (0–1)0.251, 0.098, 0.6039
RGB percentages25.1%, 9.8%, 60.4%
HSLhsl(258.1, 72.1%, 35.1%)
HSV / HSBhsv(258.1, 83.8%, 60.4%)
CMYK58.4%, 83.8%, 0%, 39.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,200,858
CSS custom property--colour: #40199A;
Brightness & contrast
Relative luminance0.04118WCAG 2.x, 0 is black and 1 is white
Perceived brightness65.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.52:1
Contrast with white11.52:1WCAG normal text: AAA
Contrast with black1.82:1WCAG normal text: Fail
Greyscale equivalent#2B2B2B
Inverted#BFE665
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.52:1WCAG large text: AAA
Contrast with black, large text1.82:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#739A19
Analogous#19339A, #80199A
Triadic#9A4019, #199A40
Split complementary#9A8019, #339A19
Tetradic#9A1933, #739A19, #199A80
Tints, shades & saturation
Channel breakdown
R64
G25
B154
Red64 (25.1%)
Green25 (9.8%)
Blue154 (60.4%)
Hue258.14°
Saturation (HSL)72.07%
Lightness35.1%
Dominant channelBlue
Hex per channelR 40 · G 19 · B 9A
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