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

#6042F9 Hex Color

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

 
#6042f9
Hex color #6042f9 graphic
#6042f9 is an intense, saturated violet that demands attention. Because it is so loud, this shade works best as a sharp accent rather than a background color. Pair it with muted grays or deep charcoal to keep your palette grounded. White text offers the best readability over this hex code, ensuring your call to action buttons stand out without sacrificing accessibility.

Color Conversions

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

  • Hex#6042f9
  • RGBrgb(96, 66, 249)
  • RGB Percentagesrgb(38%, 26%, 98%)
  • CMYK61%, 73%, 0%, 2%
  • HSLhsl(250, 94%, 62%)
  • HSVhsv(250, 73%, 98%)
  • OKLCHoklch(53.6% 0.254 281.0)
  • LCH43, 106, 305
  • LAB43, 61, -86
  • LUV43, -3, -128
  • XYZ24, 13, 91
  • Closest Tailwind Colorindigo-600

Color Variations

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

Brighten

Tints of the color as they brighten toward white.

#6042f9
#6b5cfc
#7871fe
#8685ff
#9597ff
#a5a9ff
#b6bbff
#c8ccff
#daddff
#eceeff

Darken

Shades of the color as they darken toward black.

#6042f9
#5238d9
#452fb9
#38259a
#2c1c7d
#201461
#150b46
#0a052c
#030115
#000003

Desaturate

Desaturated versions of this color.

#6042f9
#614eee
#6357e2
#655fd7
#6766cb
#6b6cbf
#6e71b3
#7275a7
#77799b
#7b7d8e

Hue

Various hues of this color.

#f94261
#f942ad
#f842f9
#ac42f9
#6042f9
#4270f9
#42bcf9
#42f9e9
#42f99d

Analogous

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

#6042f9
#426df9
#4249f9

Monochromatic

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

#6042f9
#0e0a24
#1e154f
#2f2079
#3f2ba4
#5037ce

Complementary

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

#6042f9
#dbf942

Split Complement

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

#6042f9
#f942b6
#6df942

Triad

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

#6042f9
#f96042
#42f960

Tetrad

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

#6042f9
#f9427f
#dbf942
#42f9bb

Contrast Checker

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

White Background

Passes AA
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

AA large text only
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 #6042f9 appears to people with color vision deficiency (CVD).

Normal Vision
#6042f9
Protanopia
#4747f9
Red-blind (~1% of males)
Deuteranopia
#4c4cf8
Green-blind (~1% of males)
Tritanopia
#495959
Blue-blind (very rare)
Achromatopsia
#565656
Total color blindness

Questions about #6042f9

What is #6042f9 in RGB, HSL and CMYK?
In RGB, #6042f9 is rgb(96, 66, 249), in HSL hsl(250, 94%, 62%) and in CMYK 61%, 73%, 0%, 2%. Browse more shades of purple with names and hex codes.
What colors pair well with #6042f9?
Because #6042f9 is so vibrant, it balances best against neutral, grounded tones. Pair this violet with charcoal or deep slate grays to keep your design professional, or use it against white for clean, modern readability.
Is #6042f9 suitable for body text or backgrounds?
This color is generally too intense and saturated for large blocks of text or full backgrounds. It creates significant eye strain, so reserve #6042f9 specifically for active UI elements like call-to-action buttons, icons, or subtle highlights.
Is #6042f9 readable on white or black?
#6042f9 has a 5.76:1 contrast ratio on white and 3.64: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 works only for large text (24px, or 18.5px bold). Try other pairs in the contrast checker.