Recognised as Colour
#340B7D
- #340B7D
- Violet
- Dark
- Nearest: Indigo
#340B7D is a violet with RGB values 52, 11, 125 and HSL 262°, 84%, 27%. It is a dark colour, so white text on it reaches 14.1:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#340B7D#340B7D
HEX#340B7D
RGBrgb(52, 11, 125)
RGB (0–1)0.2039, 0.0431, 0.4902
RGB percentages20.4%, 4.3%, 49%
HSLhsl(261.6, 83.8%, 26.7%)
HSV / HSBhsv(261.6, 91.2%, 49%)
CMYK58.4%, 91.2%, 0%, 51%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,410,813
CSS custom property--colour: #340B7D;
Brightness & contrast
Relative luminance0.0245WCAG 2.x, 0 is black and 1 is white
Perceived brightness51.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.09:1
Contrast with white14.09:1WCAG normal text: AAA
Contrast with black1.49:1WCAG normal text: Fail
Greyscale equivalent#1C1C1C
Inverted#CBF482
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.09:1WCAG large text: AAA
Contrast with black, large text1.49:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#547D0B
Analogous#0B1B7D, #6D0B7D
Triadic#7D340B, #0B7D34
Split complementary#7D6D0B, #1B7D0B
Tetradic#7D0B1B, #547D0B, #0B7D6D
Tints, shades & saturation
Channel breakdown
R52
G11
B125
Red52 (20.4%)
Green11 (4.3%)
Blue125 (49%)
Hue261.58°
Saturation (HSL)83.82%
Lightness26.67%
Dominant channelBlue
Hex per channelR 34 · G 0B · B 7D
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page