Recognised as Colour
#8A236C
- #8A236C
- Magenta
- Dark
- Nearest: Purple
#8A236C is a magenta with RGB values 138, 35, 108 and HSL 317°, 60%, 34%. It is a dark colour, so white text on it reaches 8.3:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#8A236C#8A236C
HEX#8A236C
RGBrgb(138, 35, 108)
RGB (0–1)0.5412, 0.1373, 0.4235
RGB percentages54.1%, 13.7%, 42.4%
HSLhsl(317.5, 59.5%, 33.9%)
HSV / HSBhsv(317.5, 74.6%, 54.1%)
CMYK0%, 74.6%, 21.7%, 45.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer9,053,036
CSS custom property--colour: #8A236C;
Brightness & contrast
Relative luminance0.07688WCAG 2.x, 0 is black and 1 is white
Perceived brightness88 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.28:1
Contrast with white8.28:1WCAG normal text: AAA
Contrast with black2.54:1WCAG normal text: Fail
Greyscale equivalent#3E3E3E
Inverted#75DC93
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.28:1WCAG large text: AAA
Contrast with black, large text2.54:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#238A41
Analogous#74238A, #8A2339
Triadic#6C8A23, #236C8A
Split complementary#388A23, #238A74
Tetradic#8A7523, #238A41, #23398A
Tints, shades & saturation
Channel breakdown
R138
G35
B108
Red138 (54.1%)
Green35 (13.7%)
Blue108 (42.4%)
Hue317.48°
Saturation (HSL)59.54%
Lightness33.92%
Dominant channelRed
Hex per channelR 8A · G 23 · B 6C
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