Recognised as Colour
#3A1592
- #3A1592
- Violet
- Dark
- Nearest: Indigo
#3A1592 is a violet with RGB values 58, 21, 146 and HSL 258°, 75%, 33%. It is a dark colour, so white text on it reaches 12.3:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#3A1592#3A1592
HEX#3A1592
RGBrgb(58, 21, 146)
RGB (0–1)0.2275, 0.0824, 0.5725
RGB percentages22.7%, 8.2%, 57.3%
HSLhsl(257.8, 74.9%, 32.7%)
HSV / HSBhsv(257.8, 85.6%, 57.3%)
CMYK60.3%, 85.6%, 0%, 42.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,806,610
CSS custom property--colour: #3A1592;
Brightness & contrast
Relative luminance0.03511WCAG 2.x, 0 is black and 1 is white
Perceived brightness60.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.34:1
Contrast with white12.34:1WCAG normal text: AAA
Contrast with black1.7:1WCAG normal text: Fail
Greyscale equivalent#262626
Inverted#C5EA6D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.34:1WCAG large text: AAA
Contrast with black, large text1.7:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#6D9215
Analogous#152F92, #791592
Triadic#923A15, #15923A
Split complementary#927815, #2F9215
Tetradic#92152E, #6D9215, #159278
Tints, shades & saturation
Channel breakdown
R58
G21
B146
Red58 (22.7%)
Green21 (8.2%)
Blue146 (57.3%)
Hue257.76°
Saturation (HSL)74.85%
Lightness32.75%
Dominant channelBlue
Hex per channelR 3A · G 15 · B 92
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