Recognised as Colour
#3F2172
- #3F2172
- Violet
- Dark
- Nearest: Midnight blue
#3F2172 is a violet with RGB values 63, 33, 114 and HSL 262°, 55%, 29%. It is a dark colour, so white text on it reaches 12.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#3F2172#3F2172
HEX#3F2172
RGBrgb(63, 33, 114)
RGB (0–1)0.2471, 0.1294, 0.4471
RGB percentages24.7%, 12.9%, 44.7%
HSLhsl(262.2, 55.1%, 28.8%)
HSV / HSBhsv(262.2, 71.1%, 44.7%)
CMYK44.7%, 71.1%, 0%, 55.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,137,330
CSS custom property--colour: #3F2172;
Brightness & contrast
Relative luminance0.03359WCAG 2.x, 0 is black and 1 is white
Perceived brightness57.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.56:1
Contrast with white12.56:1WCAG normal text: AAA
Contrast with black1.67:1WCAG normal text: Fail
Greyscale equivalent#2D2D2D
Inverted#C0DE8D
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.56:1WCAG large text: AAA
Contrast with black, large text1.67:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#547221
Analogous#212C72, #672172
Triadic#723F21, #21723F
Split complementary#726821, #2C7221
Tetradic#72212C, #547221, #217267
Tints, shades & saturation
Channel breakdown
R63
G33
B114
Red63 (24.7%)
Green33 (12.9%)
Blue114 (44.7%)
Hue262.22°
Saturation (HSL)55.1%
Lightness28.82%
Dominant channelBlue
Hex per channelR 3F · G 21 · B 72
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