Recognised as Colour
#7E238C
- #7E238C
- Magenta
- Dark
- Nearest: Purple
#7E238C is a magenta with RGB values 126, 35, 140 and HSL 292°, 60%, 34%. It is a dark colour, so white text on it reaches 8.4:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#7E238C#7E238C
HEX#7E238C
RGBrgb(126, 35, 140)
RGB (0–1)0.4941, 0.1373, 0.549
RGB percentages49.4%, 13.7%, 54.9%
HSLhsl(292, 60%, 34.3%)
HSV / HSBhsv(292, 75%, 54.9%)
CMYK10%, 75%, 0%, 45.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,266,636
CSS custom property--colour: #7E238C;
Brightness & contrast
Relative luminance0.07531WCAG 2.x, 0 is black and 1 is white
Perceived brightness87.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.38:1
Contrast with white8.38:1WCAG normal text: AAA
Contrast with black2.51:1WCAG normal text: Fail
Greyscale equivalent#3E3E3E
Inverted#81DC73
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.38:1WCAG large text: AAA
Contrast with black, large text2.51:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#318C23
Analogous#49238C, #8C2366
Triadic#8C7E23, #238C7E
Split complementary#668C23, #238C4A
Tetradic#8C4A23, #318C23, #23668C
Tints, shades & saturation
Channel breakdown
R126
G35
B140
Red126 (49.4%)
Green35 (13.7%)
Blue140 (54.9%)
Hue292°
Saturation (HSL)60%
Lightness34.31%
Dominant channelBlue
Hex per channelR 7E · G 23 · B 8C
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