Recognised as Colour
#340E4E
- #340E4E
- Violet
- Dark
- Nearest: Midnight blue
#340E4E is a violet with RGB values 52, 14, 78 and HSL 276°, 70%, 18%. It is a dark colour, so white text on it reaches 15.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#340E4E#340E4E
HEX#340E4E
RGBrgb(52, 14, 78)
RGB (0–1)0.2039, 0.0549, 0.3059
RGB percentages20.4%, 5.5%, 30.6%
HSLhsl(275.6, 69.6%, 18%)
HSV / HSBhsv(275.6, 82.1%, 30.6%)
CMYK33.3%, 82.1%, 0%, 69.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,411,534
CSS custom property--colour: #340E4E;
Brightness & contrast
Relative luminance0.01594WCAG 2.x, 0 is black and 1 is white
Perceived brightness40.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.92:1
Contrast with white15.92:1WCAG normal text: AAA
Contrast with black1.32:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#CBF1B1
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.92:1WCAG large text: AAA
Contrast with black, large text1.32:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#284E0E
Analogous#140E4E, #4E0E48
Triadic#4E340E, #0E4E34
Split complementary#484E0E, #0E4E14
Tetradic#4E140E, #284E0E, #0E484E
Tints, shades & saturation
Channel breakdown
R52
G14
B78
Red52 (20.4%)
Green14 (5.5%)
Blue78 (30.6%)
Hue275.63°
Saturation (HSL)69.57%
Lightness18.04%
Dominant channelBlue
Hex per channelR 34 · G 0E · B 4E
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