Recognised as Colour
#3A197E
- #3A197E
- Violet
- Dark
- Nearest: Midnight blue
#3A197E is a violet with RGB values 58, 25, 126 and HSL 260°, 67%, 30%. It is a dark colour, so white text on it reaches 13:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#3A197E#3A197E
HEX#3A197E
RGBrgb(58, 25, 126)
RGB (0–1)0.2275, 0.098, 0.4941
RGB percentages22.7%, 9.8%, 49.4%
HSLhsl(259.6, 66.9%, 29.6%)
HSV / HSBhsv(259.6, 80.2%, 49.4%)
CMYK54%, 80.2%, 0%, 50.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,807,614
CSS custom property--colour: #3A197E;
Brightness & contrast
Relative luminance0.03101WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.96:1
Contrast with white12.96:1WCAG normal text: AAA
Contrast with black1.62:1WCAG normal text: Fail
Greyscale equivalent#272727
Inverted#C5E681
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.96:1WCAG large text: AAA
Contrast with black, large text1.62:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5D7E19
Analogous#192A7E, #6D197E
Triadic#7E3A19, #197E3A
Split complementary#7E6D19, #2A7E19
Tetradic#7E192A, #5D7E19, #197E6D
Tints, shades & saturation
Channel breakdown
R58
G25
B126
Red58 (22.7%)
Green25 (9.8%)
Blue126 (49.4%)
Hue259.6°
Saturation (HSL)66.89%
Lightness29.61%
Dominant channelBlue
Hex per channelR 3A · G 19 · B 7E
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