Recognised as Colour
#98166C
- #98166C
- Magenta
- Dark
- Nearest: Medium violet red
#98166C is a magenta with RGB values 152, 22, 108 and HSL 320°, 75%, 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 Medium violet red.
Colour values
#98166C#98166C
HEX#98166C
RGBrgb(152, 22, 108)
RGB (0–1)0.5961, 0.0863, 0.4235
RGB percentages59.6%, 8.6%, 42.4%
HSLhsl(320.3, 74.7%, 34.1%)
HSV / HSBhsv(320.3, 85.5%, 59.6%)
CMYK0%, 85.5%, 28.9%, 40.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer9,967,212
CSS custom property--colour: #98166C;
Brightness & contrast
Relative luminance0.08332WCAG 2.x, 0 is black and 1 is white
Perceived brightness92.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.88:1
Contrast with white7.88:1WCAG normal text: AAA
Contrast with black2.67:1WCAG normal text: Fail
Greyscale equivalent#383838
Inverted#67E993
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.88:1WCAG large text: AAA
Contrast with black, large text2.67:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#169842
Analogous#831698, #98162B
Triadic#6C9816, #166C98
Split complementary#2B9816, #169883
Tetradic#988316, #169842, #162B98
Tints, shades & saturation
Channel breakdown
R152
G22
B108
Red152 (59.6%)
Green22 (8.6%)
Blue108 (42.4%)
Hue320.31°
Saturation (HSL)74.71%
Lightness34.12%
Dominant channelRed
Hex per channelR 98 · G 16 · 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