Recognised as Colour
#3A023C
- #3A023C
- Magenta
- Dark
- Nearest: Midnight blue
#3A023C is a magenta with RGB values 58, 2, 60 and HSL 298°, 94%, 12%. It is a dark colour, so white text on it reaches 16.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#3A023C#3A023C
HEX#3A023C
RGBrgb(58, 2, 60)
RGB (0–1)0.2275, 0.0078, 0.2353
RGB percentages22.7%, 0.8%, 23.5%
HSLhsl(297.9, 93.5%, 12.2%)
HSV / HSBhsv(297.9, 96.7%, 23.5%)
CMYK3.3%, 96.7%, 0%, 76.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,801,660
CSS custom property--colour: #3A023C;
Brightness & contrast
Relative luminance0.01269WCAG 2.x, 0 is black and 1 is white
Perceived brightness37.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.75:1
Contrast with white16.75:1WCAG normal text: AAA
Contrast with black1.25:1WCAG normal text: Fail
Greyscale equivalent#121212
Inverted#C5FDC3
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.75:1WCAG large text: AAA
Contrast with black, large text1.25:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#043C02
Analogous#1D023C, #3C0221
Triadic#3C3A02, #023C3A
Split complementary#213C02, #023C1D
Tetradic#3C1D02, #043C02, #02213C
Tints, shades & saturation
Channel breakdown
R58
G2
B60
Red58 (22.7%)
Green2 (0.8%)
Blue60 (23.5%)
Hue297.93°
Saturation (HSL)93.55%
Lightness12.16%
Dominant channelBlue
Hex per channelR 3A · G 02 · B 3C
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