Recognised as Colour
#B3157C
- #B3157C
- Magenta
- Dark
- Nearest: Medium violet red
#B3157C is a magenta with RGB values 179, 21, 124 and HSL 321°, 79%, 39%. It is a dark colour, so white text on it reaches 6.3:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#B3157C#B3157C
HEX#B3157C
RGBrgb(179, 21, 124)
RGB (0–1)0.702, 0.0824, 0.4863
RGB percentages70.2%, 8.2%, 48.6%
HSLhsl(320.9, 79%, 39.2%)
HSV / HSBhsv(320.9, 88.3%, 70.2%)
CMYK0%, 88.3%, 30.7%, 29.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,736,444
CSS custom property--colour: #B3157C;
Brightness & contrast
Relative luminance0.11575WCAG 2.x, 0 is black and 1 is white
Perceived brightness107.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.33:1
Contrast with white6.33:1WCAG normal text: AA
Contrast with black3.32:1WCAG normal text: Fail
Greyscale equivalent#3E3E3E
Inverted#4CEA83
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.33:1WCAG large text: AAA
Contrast with black, large text3.32:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#15B34C
Analogous#9B15B3, #B3152D
Triadic#7CB315, #157CB3
Split complementary#2DB315, #15B39B
Tetradic#B39B15, #15B34C, #152DB3
Tints, shades & saturation
Channel breakdown
R179
G21
B124
Red179 (70.2%)
Green21 (8.2%)
Blue124 (48.6%)
Hue320.89°
Saturation (HSL)79%
Lightness39.22%
Dominant channelRed
Hex per channelR B3 · G 15 · B 7C
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Also reads as
B3157C (chemical formula)
- Formula
- 34,139.181 g/mol
- 3158 atoms
B3157C has a molar mass of 34,139.181 g/mol, made up of 3158 atoms across 2 elements: 3157 × B, 1 × C.
Molar mass
Molar mass34,139.181 g/mol
Total atoms per molecule3158
Distinct elements2
Mass of one molecule5.6689444 × 10^-20 g
Molecules per gram1.7639968 × 10^19
Name
NameNot in the name tablea name cannot be worked out from a formula alone: isomers share formulas, and naming depends on bonding the formula does not show
Composition by mass
B100%
C0%
Boron (B × 3157)34,127.17 g/mol, 99.965%
Carbon (C)12.011 g/mol, 0.035%
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page