Recognised as Colour
#21022A
- #21022A
- Violet
- Dark
- Nearest: Black
#21022A is a violet with RGB values 33, 2, 42 and HSL 287°, 91%, 9%. 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
#21022A#21022A
HEX#21022A
RGBrgb(33, 2, 42)
RGB (0–1)0.1294, 0.0078, 0.1647
RGB percentages12.9%, 0.8%, 16.5%
HSLhsl(286.5, 90.9%, 8.6%)
HSV / HSBhsv(286.5, 95.2%, 16.5%)
CMYK21.4%, 95.2%, 0%, 83.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,163,242
CSS custom property--colour: #21022A;
Brightness & contrast
Relative luminance0.00534WCAG 2.x, 0 is black and 1 is white
Perceived brightness23 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.97:1
Contrast with white18.97:1WCAG normal text: AAA
Contrast with black1.11:1WCAG normal text: Fail
Greyscale equivalent#0B0B0B
Inverted#DEFDD5
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.97:1WCAG large text: AAA
Contrast with black, large text1.11:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0B2A02
Analogous#0D022A, #2A021F
Triadic#2A2102, #022A21
Split complementary#1F2A02, #022A0D
Tetradic#2A0D02, #0B2A02, #021F2A
Tints, shades & saturation
Channel breakdown
R33
G2
B42
Red33 (12.9%)
Green2 (0.8%)
Blue42 (16.5%)
Hue286.5°
Saturation (HSL)90.91%
Lightness8.63%
Dominant channelBlue
Hex per channelR 21 · G 02 · B 2A
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