Recognised as Colour
#8A238A
- #8A238A
- Magenta
- Dark
- Nearest: Purple
#8A238A is a magenta with RGB values 138, 35, 138 and HSL 300°, 60%, 34%. It is a dark colour, so white text on it reaches 7.8:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#8A238A#8A238A
HEX#8A238A
RGBrgb(138, 35, 138)
RGB (0–1)0.5412, 0.1373, 0.5412
RGB percentages54.1%, 13.7%, 54.1%
HSLhsl(300, 59.5%, 33.9%)
HSV / HSBhsv(300, 74.6%, 54.1%)
CMYK0%, 74.6%, 0%, 45.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer9,053,066
CSS custom property--colour: #8A238A;
Brightness & contrast
Relative luminance0.0844WCAG 2.x, 0 is black and 1 is white
Perceived brightness92.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.81:1
Contrast with white7.81:1WCAG normal text: AAA
Contrast with black2.69:1WCAG normal text: Fail
Greyscale equivalent#404040
Inverted#75DC75
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.81:1WCAG large text: AAA
Contrast with black, large text2.69:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#238A23
Analogous#57238A, #8A2357
Triadic#8A8A23, #238A8A
Split complementary#578A23, #238A57
Tetradic#8A5723, #238A23, #23578A
Tints, shades & saturation
Channel breakdown
R138
G35
B138
Red138 (54.1%)
Green35 (13.7%)
Blue138 (54.1%)
Hue300°
Saturation (HSL)59.54%
Lightness33.92%
Dominant channelRed and Blue
Hex per channelR 8A · G 23 · B 8A
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