Nerdulator> put something in

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

Protanopia#002E80no red cones; affects about 1% of men; ΔE 24 from the original
Deuteranopia#00287Bno green cones; the most common form, about 1% of men; ΔE 21.5 from the original
Tritanopia#123148no blue cones; rare, and affects men and women equally; ΔE 60.5 from the original
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

Nearest named CSS colourIndigo (#4B0082)ΔE 7.36, clearly different but related
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

Lighter +40%#9663F1
Lighter +30%#7634ED
Lighter +20%#5B13DB
Lighter +10%#470FAC
Darker −10%#20074E
Darker −20%#0D031F
Darker −30%#000000
Darker −40%#000000
More saturated +25%#310088
Less saturated −25%#391C6C

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

Every value on this page was computed from “340b7d” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.