Recognised as Colour
#21042C
- #21042C
- Violet
- Dark
- Nearest: Black
#21042C is a violet with RGB values 33, 4, 44 and HSL 284°, 83%, 9%. It is a dark colour, so white text on it reaches 18.8:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#21042C#21042C
HEX#21042C
RGBrgb(33, 4, 44)
RGB (0–1)0.1294, 0.0157, 0.1725
RGB percentages12.9%, 1.6%, 17.3%
HSLhsl(283.5, 83.3%, 9.4%)
HSV / HSBhsv(283.5, 90.9%, 17.3%)
CMYK25%, 90.9%, 0%, 82.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,163,756
CSS custom property--colour: #21042C;
Brightness & contrast
Relative luminance0.00592WCAG 2.x, 0 is black and 1 is white
Perceived brightness23.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.78:1
Contrast with white18.78:1WCAG normal text: AAA
Contrast with black1.12:1WCAG normal text: Fail
Greyscale equivalent#0D0D0D
Inverted#DEFBD3
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.78:1WCAG large text: AAA
Contrast with black, large text1.12:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0F2C04
Analogous#0D042C, #2C0423
Triadic#2C2104, #042C21
Split complementary#232C04, #042C0D
Tetradic#2C0D04, #0F2C04, #04232C
Tints, shades & saturation
Channel breakdown
R33
G4
B44
Red33 (12.9%)
Green4 (1.6%)
Blue44 (17.3%)
Hue283.5°
Saturation (HSL)83.33%
Lightness9.41%
Dominant channelBlue
Hex per channelR 21 · G 04 · B 2C
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