Recognised as Colour
#20152A
- #20152A
- Violet
- Dark
- Nearest: Black
#20152A is a violet with RGB values 32, 21, 42 and HSL 271°, 33%, 12%. It is a dark colour, so white text on it reaches 17.5:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#20152A#20152A
HEX#20152A
RGBrgb(32, 21, 42)
RGB (0–1)0.1255, 0.0824, 0.1647
RGB percentages12.5%, 8.2%, 16.5%
HSLhsl(271.4, 33.3%, 12.4%)
HSV / HSBhsv(271.4, 50%, 16.5%)
CMYK23.8%, 50%, 0%, 83.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,102,570
CSS custom property--colour: #20152A;
Brightness & contrast
Relative luminance0.01011WCAG 2.x, 0 is black and 1 is white
Perceived brightness27.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.47:1
Contrast with white17.47:1WCAG normal text: AAA
Contrast with black1.2:1WCAG normal text: Fail
Greyscale equivalent#191919
Inverted#DFEAD5
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.47:1WCAG large text: AAA
Contrast with black, large text1.2:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#1F2A15
Analogous#16152A, #2A152A
Triadic#2A2015, #152A20
Split complementary#292A15, #152A16
Tetradic#2A1615, #1F2A15, #15292A
Tints, shades & saturation
Channel breakdown
R32
G21
B42
Red32 (12.5%)
Green21 (8.2%)
Blue42 (16.5%)
Hue271.43°
Saturation (HSL)33.33%
Lightness12.35%
Dominant channelBlue
Hex per channelR 20 · G 15 · 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