Recognised as Colour
#AF257A
- #AF257A
- Magenta
- Dark
- Nearest: Medium violet red
#AF257A is a magenta with RGB values 175, 37, 122 and HSL 323°, 65%, 42%. It is a dark colour, so white text on it reaches 6.2:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#AF257A#AF257A
HEX#AF257A
RGBrgb(175, 37, 122)
RGB (0–1)0.6863, 0.1451, 0.4784
RGB percentages68.6%, 14.5%, 47.8%
HSLhsl(323, 65.1%, 41.6%)
HSV / HSBhsv(323, 78.9%, 68.6%)
CMYK0%, 78.9%, 30.3%, 31.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,478,394
CSS custom property--colour: #AF257A;
Brightness & contrast
Relative luminance0.11842WCAG 2.x, 0 is black and 1 is white
Perceived brightness108 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.23:1
Contrast with white6.23:1WCAG normal text: AA
Contrast with black3.37:1WCAG normal text: Fail
Greyscale equivalent#484848
Inverted#50DA85
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.23:1WCAG large text: AAA
Contrast with black, large text3.37:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#25AF5A
Analogous#9F25AF, #AF2535
Triadic#7AAF25, #257AAF
Split complementary#35AF25, #25AF9F
Tetradic#AF9F25, #25AF5A, #2535AF
Tints, shades & saturation
Channel breakdown
R175
G37
B122
Red175 (68.6%)
Green37 (14.5%)
Blue122 (47.8%)
Hue323.04°
Saturation (HSL)65.09%
Lightness41.57%
Dominant channelRed
Hex per channelR AF · G 25 · B 7A
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