Recognised as Colour
#340F4E
- #340F4E
- Violet
- Dark
- Nearest: Midnight blue
#340F4E is a violet with RGB values 52, 15, 78 and HSL 275°, 68%, 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
#340F4E#340F4E
HEX#340F4E
RGBrgb(52, 15, 78)
RGB (0–1)0.2039, 0.0588, 0.3059
RGB percentages20.4%, 5.9%, 30.6%
HSLhsl(275.2, 67.7%, 18.2%)
HSV / HSBhsv(275.2, 80.8%, 30.6%)
CMYK33.3%, 80.8%, 0%, 69.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,411,790
CSS custom property--colour: #340F4E;
Brightness & contrast
Relative luminance0.01622WCAG 2.x, 0 is black and 1 is white
Perceived brightness40.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.86:1
Contrast with white15.86:1WCAG normal text: AAA
Contrast with black1.32:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#CBF0B1
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.86: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#294E0F
Analogous#140F4E, #4E0F49
Triadic#4E340F, #0F4E34
Split complementary#494E0F, #0F4E15
Tetradic#4E150F, #294E0F, #0F494E
Tints, shades & saturation
Channel breakdown
R52
G15
B78
Red52 (20.4%)
Green15 (5.9%)
Blue78 (30.6%)
Hue275.24°
Saturation (HSL)67.74%
Lightness18.24%
Dominant channelBlue
Hex per channelR 34 · G 0F · 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