Recognised as Colour
#3A1998
- #3A1998
- Violet
- Dark
- Nearest: Indigo
#3A1998 is a violet with RGB values 58, 25, 152 and HSL 256°, 72%, 35%. It is a dark colour, so white text on it reaches 11.8:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#3A1998#3A1998
HEX#3A1998
RGBrgb(58, 25, 152)
RGB (0–1)0.2275, 0.098, 0.5961
RGB percentages22.7%, 9.8%, 59.6%
HSLhsl(255.6, 71.8%, 34.7%)
HSV / HSBhsv(255.6, 83.6%, 59.6%)
CMYK61.8%, 83.6%, 0%, 40.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,807,640
CSS custom property--colour: #3A1998;
Brightness & contrast
Relative luminance0.03862WCAG 2.x, 0 is black and 1 is white
Perceived brightness63.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.85:1
Contrast with white11.85:1WCAG normal text: AAA
Contrast with black1.77:1WCAG normal text: Fail
Greyscale equivalent#292929
Inverted#C5E667
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.85:1WCAG large text: AAA
Contrast with black, large text1.77:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#779819
Analogous#193898, #791998
Triadic#983A19, #19983A
Split complementary#987919, #389819
Tetradic#981938, #779819, #199879
Tints, shades & saturation
Channel breakdown
R58
G25
B152
Red58 (22.7%)
Green25 (9.8%)
Blue152 (59.6%)
Hue255.59°
Saturation (HSL)71.75%
Lightness34.71%
Dominant channelBlue
Hex per channelR 3A · G 19 · B 98
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