Recognised as Colour
#34046C
- #34046C
- Violet
- Dark
- Nearest: Midnight blue
#34046C is a violet with RGB values 52, 4, 108 and HSL 268°, 93%, 22%. It is a dark colour, so white text on it reaches 15.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#34046C#34046C
HEX#34046C
RGBrgb(52, 4, 108)
RGB (0–1)0.2039, 0.0157, 0.4235
RGB percentages20.4%, 1.6%, 42.4%
HSLhsl(267.7, 92.9%, 22%)
HSV / HSBhsv(267.7, 96.3%, 42.4%)
CMYK51.9%, 96.3%, 0%, 57.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,409,004
CSS custom property--colour: #34046C;
Brightness & contrast
Relative luminance0.019WCAG 2.x, 0 is black and 1 is white
Perceived brightness46.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.22:1
Contrast with white15.22:1WCAG normal text: AAA
Contrast with black1.38:1WCAG normal text: Fail
Greyscale equivalent#161616
Inverted#CBFB93
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.22:1WCAG large text: AAA
Contrast with black, large text1.38:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#3C6C04
Analogous#04086C, #68046C
Triadic#6C3404, #046C34
Split complementary#6C6804, #086C04
Tetradic#6C0408, #3C6C04, #046C68
Tints, shades & saturation
Channel breakdown
R52
G4
B108
Red52 (20.4%)
Green4 (1.6%)
Blue108 (42.4%)
Hue267.69°
Saturation (HSL)92.86%
Lightness21.96%
Dominant channelBlue
Hex per channelR 34 · G 04 · B 6C
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