Recognised as Colour
#87238C
- #87238C
- Magenta
- Dark
- Nearest: Purple
#87238C is a magenta with RGB values 135, 35, 140 and HSL 297°, 60%, 34%. It is a dark colour, so white text on it reaches 7.9:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#87238C#87238C
HEX#87238C
RGBrgb(135, 35, 140)
RGB (0–1)0.5294, 0.1373, 0.549
RGB percentages52.9%, 13.7%, 54.9%
HSLhsl(297.1, 60%, 34.3%)
HSV / HSBhsv(297.1, 75%, 54.9%)
CMYK3.6%, 75%, 0%, 45.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,856,460
CSS custom property--colour: #87238C;
Brightness & contrast
Relative luminance0.08246WCAG 2.x, 0 is black and 1 is white
Perceived brightness91.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.93:1
Contrast with white7.93:1WCAG normal text: AAA
Contrast with black2.65:1WCAG normal text: Fail
Greyscale equivalent#404040
Inverted#78DC73
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.93:1WCAG large text: AAA
Contrast with black, large text2.65:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#288C23
Analogous#52238C, #8C235D
Triadic#8C8723, #238C87
Split complementary#5C8C23, #238C53
Tetradic#8C5323, #288C23, #235D8C
Tints, shades & saturation
Channel breakdown
R135
G35
B140
Red135 (52.9%)
Green35 (13.7%)
Blue140 (54.9%)
Hue297.14°
Saturation (HSL)60%
Lightness34.31%
Dominant channelBlue
Hex per channelR 87 · 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