Recognised as Colour
#40127C
- #40127C
- Violet
- Dark
- Nearest: Indigo
#40127C is a violet with RGB values 64, 18, 124 and HSL 266°, 75%, 28%. It is a dark colour, so white text on it reaches 13.2:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#40127C#40127C
HEX#40127C
RGBrgb(64, 18, 124)
RGB (0–1)0.251, 0.0706, 0.4863
RGB percentages25.1%, 7.1%, 48.6%
HSLhsl(266, 74.6%, 27.8%)
HSV / HSBhsv(266, 85.5%, 48.6%)
CMYK48.4%, 85.5%, 0%, 51.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,199,036
CSS custom property--colour: #40127C;
Brightness & contrast
Relative luminance0.02978WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.16:1
Contrast with white13.16:1WCAG normal text: AAA
Contrast with black1.6:1WCAG normal text: Fail
Greyscale equivalent#232323
Inverted#BFED83
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.16:1WCAG large text: AAA
Contrast with black, large text1.6:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4E7C12
Analogous#12197C, #75127C
Triadic#7C4012, #127C40
Split complementary#7C7512, #197C12
Tetradic#7C1219, #4E7C12, #127C75
Tints, shades & saturation
Channel breakdown
R64
G18
B124
Red64 (25.1%)
Green18 (7.1%)
Blue124 (48.6%)
Hue266.04°
Saturation (HSL)74.65%
Lightness27.84%
Dominant channelBlue
Hex per channelR 40 · G 12 · B 7C
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