Recognised as Colour
#8A2287
- #8A2287
- Magenta
- Dark
- Nearest: Purple
#8A2287 is a magenta with RGB values 138, 34, 135 and HSL 302°, 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
#8A2287#8A2287
HEX#8A2287
RGBrgb(138, 34, 135)
RGB (0–1)0.5412, 0.1333, 0.5294
RGB percentages54.1%, 13.3%, 52.9%
HSLhsl(301.7, 60.5%, 33.7%)
HSV / HSBhsv(301.7, 75.4%, 54.1%)
CMYK0%, 75.4%, 2.2%, 45.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer9,052,807
CSS custom property--colour: #8A2287;
Brightness & contrast
Relative luminance0.08297WCAG 2.x, 0 is black and 1 is white
Perceived brightness91.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.9:1
Contrast with white7.9:1WCAG normal text: AAA
Contrast with black2.66:1WCAG normal text: Fail
Greyscale equivalent#3F3F3F
Inverted#75DD78
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.9:1WCAG large text: AAA
Contrast with black, large text2.66:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#228A25
Analogous#59228A, #8A2253
Triadic#878A22, #22878A
Split complementary#538A22, #228A59
Tetradic#8A5922, #228A25, #22538A
Tints, shades & saturation
Channel breakdown
R138
G34
B135
Red138 (54.1%)
Green34 (13.3%)
Blue135 (52.9%)
Hue301.73°
Saturation (HSL)60.47%
Lightness33.73%
Dominant channelRed
Hex per channelR 8A · G 22 · B 87
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