Recognised as Colour
#1F0522
- #1F0522
- Magenta
- Dark
- Nearest: Black
#1F0522 is a magenta with RGB values 31, 5, 34 and HSL 294°, 74%, 8%. It is a dark colour, so white text on it reaches 19:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#1F0522#1F0522
HEX#1F0522
RGBrgb(31, 5, 34)
RGB (0–1)0.1216, 0.0196, 0.1333
RGB percentages12.2%, 2%, 13.3%
HSLhsl(293.8, 74.4%, 7.6%)
HSV / HSBhsv(293.8, 85.3%, 13.3%)
CMYK8.8%, 85.3%, 0%, 86.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,032,930
CSS custom property--colour: #1F0522;
Brightness & contrast
Relative luminance0.00515WCAG 2.x, 0 is black and 1 is white
Perceived brightness20.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 19.04:1
Contrast with white19.04:1WCAG normal text: AAA
Contrast with black1.1:1WCAG normal text: Fail
Greyscale equivalent#0D0D0D
Inverted#E0FADD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text19.04:1WCAG large text: AAA
Contrast with black, large text1.1:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#082205
Analogous#100522, #220517
Triadic#221F05, #05221F
Split complementary#172205, #052210
Tetradic#221005, #082205, #051722
Tints, shades & saturation
Channel breakdown
R31
G5
B34
Red31 (12.2%)
Green5 (2%)
Blue34 (13.3%)
Hue293.79°
Saturation (HSL)74.36%
Lightness7.65%
Dominant channelBlue
Hex per channelR 1F · G 05 · B 22
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