Recognised as Colour
#1B021F
- #1B021F
- Magenta
- Dark
- Nearest: Black
#1B021F is a magenta with RGB values 27, 2, 31 and HSL 292°, 88%, 6%. It is a dark colour, so white text on it reaches 19.5:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#1B021F#1B021F
HEX#1B021F
RGBrgb(27, 2, 31)
RGB (0–1)0.1059, 0.0078, 0.1216
RGB percentages10.6%, 0.8%, 12.2%
HSLhsl(291.7, 87.9%, 6.5%)
HSV / HSBhsv(291.7, 93.5%, 12.2%)
CMYK12.9%, 93.5%, 0%, 87.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,770,015
CSS custom property--colour: #1B021F;
Brightness & contrast
Relative luminance0.00375WCAG 2.x, 0 is black and 1 is white
Perceived brightness18.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 19.53:1
Contrast with white19.53:1WCAG normal text: AAA
Contrast with black1.08:1WCAG normal text: Fail
Greyscale equivalent#090909
Inverted#E4FDE0
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text19.53:1WCAG large text: AAA
Contrast with black, large text1.08:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#061F02
Analogous#0C021F, #1F0215
Triadic#1F1B02, #021F1B
Split complementary#141F02, #021F0C
Tetradic#1F0C02, #061F02, #02151F
Tints, shades & saturation
Channel breakdown
R27
G2
B31
Red27 (10.6%)
Green2 (0.8%)
Blue31 (12.2%)
Hue291.72°
Saturation (HSL)87.88%
Lightness6.47%
Dominant channelBlue
Hex per channelR 1B · G 02 · B 1F
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