Nerdulator> put something in

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

Protanopia#00266Fno red cones; affects about 1% of men; ΔE 22.8 from the original
Deuteranopia#00246Ano green cones; the most common form, about 1% of men; ΔE 23.7 from the original
Tritanopia#22273Dno blue cones; rare, and affects men and women equally; ΔE 51 from the original
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

Nearest named CSS colourMidnight blue (#191970)ΔE 11.27, a distinctly different colour
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

Lighter +40%#9744F8
Lighter +30%#7C13F6
Lighter +20%#6308CE
Lighter +10%#4C069D
Darker −10%#1C023B
Darker −20%#05000A
Darker −30%#000000
Darker −40%#000000
More saturated +25%#340070
Less saturated −25%#35125E

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

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