Black Friday 2026: design deals we check every day. See the deals →

#342266 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

 
#342266
Hex color #342266 graphic
#342266 is a dark, muted violet with cool blue undertones. Its low lightness gives interfaces and branding a serious, mysterious mood, while suggesting depth and spirituality. Use it as a dominant background with white text, which reaches about 13.4:1 contrast, or pair it with soft apricot for warmth. The hex code #342266 suits gaming, luxury, and moody designs.

Color Conversions

Hex color #342266 converted to various formats including hex, rgb, hsl, and more.

  • Hex#342266
  • RGBrgb(52, 34, 102)
  • RGB Percentagesrgb(20%, 13%, 40%)
  • CMYK49%, 67%, 0%, 60%
  • HSLhsl(256, 50%, 27%)
  • HSVhsv(256, 67%, 40%)
  • OKLCHoklch(31.6% 0.114 290.6)
  • LCH19, 46, 306
  • LAB19, 27, -37
  • LUV19, 2, -43
  • XYZ4, 3, 13
  • Closest Tailwind Colorviolet-950

Color Variations

Variations of this color including shaded, tints, and complementary colors.

Brighten

Tints of the color as they brighten toward white.

#342266
#453775
#564c85
#696194
#7d76a3
#918cb3
#a6a2c2
#bbb9d1
#d1d0e0
#e8e7f0

Darken

Shades of the color as they darken toward black.

#342266
#2c1c58
#24164a
#1c113c
#150b2f
#0e0723
#070317
#03010c
#010004
#000000

Desaturate

Desaturated versions of this color.

#342266
#3a2c69
#41366d
#484070
#504972
#575275
#5f5b78
#67647a
#6f6e7c
#77777e

Hue

Various hues of this color.

#662227
#662243
#66225f
#502266
#342266
#222c66
#224966
#226566
#22664b

Analogous

Analogous color palette of this color, meaning colors that are next to each other on the color wheel.

#342266
#222b66
#262266

Monochromatic

Monochromatic colors for this color, monochromatic colors are all of the same hue.

#342266
#4a3090
#5f3ebb
#754de5
#090611
#1e143b

Complementary

Complementary colors for this color, complementary colors are opposites on the color wheel.

#342266
#546622

Split Complement

Split-complementary colors which use adjacent colors of this color’s complementary color.

#342266
#662246
#2b6622

Triad

Triad colors which pull themselves in a triangle across the color wheel.

#342266
#663422
#226634

Tetrad

Tetrad colors which pull themselves in a square shape across the color wheel.

#342266
#662232
#546622
#226656

Contrast Checker

Contrast test results for the color #342266 on black and white backgrounds.
Open in contrast checker →

White Background

Passes AAA
Example Headline (24px)

The font-size of this text is 18.5px. Click anywhere to edit this text. Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Black Background

Fails WCAG
Example Headline (24px)

The font-size of this text is 18.5px. Click anywhere to edit this text. Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Color Blindness Simulation

See how #342266 appears to people with color vision deficiency (CVD).

Normal Vision
#342266
Protanopia
#252566
Red-blind (~1% of males)
Deuteranopia
#282865
Green-blind (~1% of males)
Tritanopia
#2b2b2b
Blue-blind (very rare)
Achromatopsia
#2b2b2b
Total color blindness

Questions about #342266

What is #342266 in RGB, HSL and CMYK?
In RGB, #342266 is rgb(52, 34, 102), in HSL hsl(256, 50%, 27%) and in CMYK 49%, 67%, 0%, 60%. Browse more shades of purple with names and hex codes.
Does #342266 look warm or cool?
#342266 reads as a cool, dark violet because its blue undertones outweigh the warmth of red and its low lightness gives the shade a serious, mysterious character, making it well suited to focused interfaces and atmospheric visual identities.
What colors pair well with #342266?
#342266 pairs well with soft apricot for warmth, white for crisp contrast, and nearby violet tones for a restrained monochromatic palette that preserves its depth without making the design feel overly bright.
Is #342266 readable on white or black?
#342266 has a 13.40:1 contrast ratio on white and 1.56:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.