Recognised as Colour
#21075E
- #21075E
- Violet
- Dark
- Nearest: Midnight blue
#21075E is a violet with RGB values 33, 7, 94 and HSL 258°, 86%, 20%. It is a dark colour, so white text on it reaches 16.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#21075E#21075E
HEX#21075E
RGBrgb(33, 7, 94)
RGB (0–1)0.1294, 0.0275, 0.3686
RGB percentages12.9%, 2.7%, 36.9%
HSLhsl(257.9, 86.1%, 19.8%)
HSV / HSBhsv(257.9, 92.6%, 36.9%)
CMYK64.9%, 92.6%, 0%, 63.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,164,574
CSS custom property--colour: #21075E;
Brightness & contrast
Relative luminance0.01283WCAG 2.x, 0 is black and 1 is white
Perceived brightness36.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.71:1
Contrast with white16.71:1WCAG normal text: AAA
Contrast with black1.26:1WCAG normal text: Fail
Greyscale equivalent#131313
Inverted#DEF8A1
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.71:1WCAG large text: AAA
Contrast with black, large text1.26:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#445E07
Analogous#07195E, #4D075E
Triadic#5E2107, #075E21
Split complementary#5E4C07, #195E07
Tetradic#5E0719, #445E07, #075E4D
Tints, shades & saturation
Channel breakdown
R33
G7
B94
Red33 (12.9%)
Green7 (2.7%)
Blue94 (36.9%)
Hue257.93°
Saturation (HSL)86.14%
Lightness19.8%
Dominant channelBlue
Hex per channelR 21 · G 07 · B 5E
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