Recognised as Colour
#3A1577
- #3A1577
- Violet
- Dark
- Nearest: Midnight blue
#3A1577 is a violet with RGB values 58, 21, 119 and HSL 263°, 70%, 27%. It is a dark colour, so white text on it reaches 13.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#3A1577#3A1577
HEX#3A1577
RGBrgb(58, 21, 119)
RGB (0–1)0.2275, 0.0824, 0.4667
RGB percentages22.7%, 8.2%, 46.7%
HSLhsl(262.7, 70%, 27.5%)
HSV / HSBhsv(262.7, 82.4%, 46.7%)
CMYK51.3%, 82.4%, 0%, 53.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,806,583
CSS custom property--colour: #3A1577;
Brightness & contrast
Relative luminance0.02768WCAG 2.x, 0 is black and 1 is white
Perceived brightness53.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.52:1
Contrast with white13.52:1WCAG normal text: AAA
Contrast with black1.55:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#C5EA88
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.52:1WCAG large text: AAA
Contrast with black, large text1.55:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#527715
Analogous#152177, #6B1577
Triadic#773A15, #15773A
Split complementary#776B15, #217715
Tetradic#771521, #527715, #15776B
Tints, shades & saturation
Channel breakdown
R58
G21
B119
Red58 (22.7%)
Green21 (8.2%)
Blue119 (46.7%)
Hue262.65°
Saturation (HSL)70%
Lightness27.45%
Dominant channelBlue
Hex per channelR 3A · G 15 · B 77
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