Recognised as Colour
#B21CDB
- #B21CDB
- Violet
- Dark
- Nearest: Dark violet
#B21CDB is a violet with RGB values 178, 28, 219 and HSL 287°, 77%, 48%. It is a dark colour, so white text on it reaches 5.1:1 contrast (AA for normal text). The nearest named colour is Dark violet.
Colour values
#B21CDB#B21CDB
HEX#B21CDB
RGBrgb(178, 28, 219)
RGB (0–1)0.698, 0.1098, 0.8588
RGB percentages69.8%, 11%, 85.9%
HSLhsl(287.1, 77.3%, 48.4%)
HSV / HSBhsv(287.1, 87.2%, 85.9%)
CMYK18.7%, 87.2%, 0%, 14.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,672,795
CSS custom property--colour: #B21CDB;
Brightness & contrast
Relative luminance0.1541WCAG 2.x, 0 is black and 1 is white
Perceived brightness124.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.14:1
Contrast with white5.14:1WCAG normal text: AA
Contrast with black4.08:1WCAG normal text: Fail
Greyscale equivalent#4A4A4A
Inverted#4DE324
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.14:1WCAG large text: AAA
Contrast with black, large text4.08:1WCAG large text: AA
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#45DB1C
Analogous#521CDB, #DB1CA4
Triadic#DBB21C, #1CDBB2
Split complementary#A4DB1C, #1CDB53
Tetradic#DB531C, #45DB1C, #1CA4DB
Tints, shades & saturation
Channel breakdown
R178
G28
B219
Red178 (69.8%)
Green28 (11%)
Blue219 (85.9%)
Hue287.12°
Saturation (HSL)77.33%
Lightness48.43%
Dominant channelBlue
Hex per channelR B2 · G 1C · B DB
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
B21CdB (chemical formula)
- Formula
- 350.23 g/mol
- 23 atoms
B21CdB has a molar mass of 350.23 g/mol, made up of 23 atoms across 2 elements: 22 × B, 1 × Cd.
Molar mass
Molar mass350.23 g/mol
Total atoms per molecule23
Distinct elements2
Mass of one molecule5.815706 × 10^-22 g
Molecules per gram1.7194817 × 10^21
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
B67.9%
Cd32.1%
Boron (B × 22)237.82 g/mol, 67.904%
Cadmium (Cd)112.41 g/mol, 32.096%
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