Recognised as Colour
#AF258E
- #AF258E
- Magenta
- Dark
- Nearest: Medium violet red
#AF258E is a magenta with RGB values 175, 37, 142 and HSL 314°, 65%, 42%. It is a dark colour, so white text on it reaches 6:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#AF258E#AF258E
HEX#AF258E
RGBrgb(175, 37, 142)
RGB (0–1)0.6863, 0.1451, 0.5569
RGB percentages68.6%, 14.5%, 55.7%
HSLhsl(314.3, 65.1%, 41.6%)
HSV / HSBhsv(314.3, 78.9%, 68.6%)
CMYK0%, 78.9%, 18.9%, 31.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,478,414
CSS custom property--colour: #AF258E;
Brightness & contrast
Relative luminance0.1239WCAG 2.x, 0 is black and 1 is white
Perceived brightness110.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.04:1
Contrast with white6.04:1WCAG normal text: AA
Contrast with black3.48:1WCAG normal text: Fail
Greyscale equivalent#4A4A4A
Inverted#50DA71
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.04:1WCAG large text: AAA
Contrast with black, large text3.48:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#25AF46
Analogous#8B25AF, #AF2549
Triadic#8EAF25, #258EAF
Split complementary#49AF25, #25AF8B
Tetradic#AF8B25, #25AF46, #2549AF
Tints, shades & saturation
Channel breakdown
R175
G37
B142
Red175 (68.6%)
Green37 (14.5%)
Blue142 (55.7%)
Hue314.35°
Saturation (HSL)65.09%
Lightness41.57%
Dominant channelRed
Hex per channelR AF · G 25 · B 8E
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