Recognised as Colour
#2D2147
- #2D2147
- Violet
- Dark
- Nearest: Dark slateblue
#2D2147 is a violet with RGB values 45, 33, 71 and HSL 259°, 37%, 20%. It is a dark colour, so white text on it reaches 14.8:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#2D2147#2D2147
HEX#2D2147
RGBrgb(45, 33, 71)
RGB (0–1)0.1765, 0.1294, 0.2784
RGB percentages17.6%, 12.9%, 27.8%
HSLhsl(258.9, 36.5%, 20.4%)
HSV / HSBhsv(258.9, 53.5%, 27.8%)
CMYK36.6%, 53.5%, 0%, 72.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,957,639
CSS custom property--colour: #2D2147;
Brightness & contrast
Relative luminance0.02101WCAG 2.x, 0 is black and 1 is white
Perceived brightness42.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.79:1
Contrast with white14.79:1WCAG normal text: AAA
Contrast with black1.42:1WCAG normal text: Fail
Greyscale equivalent#262626
Inverted#D2DEB8
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.79:1WCAG large text: AAA
Contrast with black, large text1.42:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#3B4721
Analogous#212847, #402147
Triadic#472D21, #21472D
Split complementary#474021, #284721
Tetradic#472128, #3B4721, #214740
Tints, shades & saturation
Channel breakdown
R45
G33
B71
Red45 (17.6%)
Green33 (12.9%)
Blue71 (27.8%)
Hue258.95°
Saturation (HSL)36.54%
Lightness20.39%
Dominant channelBlue
Hex per channelR 2D · G 21 · B 47
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