#4F46E5 Color Details, Palettes & Contrast

All the conversions, harmonies, and accessibility checks you need to design with confidence.

RGB:rgb(79, 70, 229)
HSL:hsl(243, 75%, 59%)
HEX
#4F46E5
RGB
79, 70, 229
HSL
243°, 75%, 59%
HSV
243°, 69%, 90%
CMYK
66%, 69%, 0%, 10%

Color Conversion

Generate values across multiple color models in one place.

#4F46E5

Tints & shades

Explore how #4F46E5 behaves when you mix it with white or black. These swatches are perfect for hover states, shadows, and backgrounds.

Hover to copy any hex value and reuse it across your interface.

Shades

0–100%
0%#5048E5
10%#372EE1
20%#271ED3
30%#221AB8
40%#1D179E
50%#181384
60%#140F69
70%#0F0B4F
80%#0A0835
90%#05041A
100%#000000

Tints

0–100%
0%#5048E5
10%#615AE7
20%#736DEA
30%#847FED
40%#9691EF
50%#A7A4F2
60%#B9B6F5
70%#CAC8F7
80%#DCDAFA
90%#EDEDFC
100%#FFFFFF

Common use cases

  • UI component states (hover, active, disabled)
  • Creating depth with shadows and highlights
  • Building consistent color systems

Design system

Design system tip

These variations form the foundation of a cohesive palette. Export them to keep marketing, product, and engineering aligned.

Export palette

Color harmonies

Build balanced palettes instantly with harmonies generated from #4F46E5.

Click any swatch to open its own detail page and keep exploring.

How to use

Pick one dominant color, then let supporting hues act as accents for typography, surfaces, and call-to-action buttons.

Why it matters

Balanced harmonies communicate intent—calm, energetic, premium—without overwhelming your layout.

Complementary

Opposite hues that create impact and bold contrast.

Suggested for

High-impact CTAs, logos, and hero sections

Analogous

Neighboring hues for natural, fluid gradients.

Suggested for

Nature-inspired, calming dashboards

Triadic

Three evenly spaced hues for playful balance.

Suggested for

Playful branding and editorial layouts

Tetradic

Two complementary pairs that deliver rich variety.

Suggested for

Illustrations and marketing experiments

Monochromatic

Lighter and darker siblings inside the same hue family.

Suggested for

Minimalist interfaces and premium UI states

Accessibility contrast

Check how readable #4F46E5 is with common text colors so every visitor enjoys a clear experience.

Use AA as the baseline for body copy and AAA for premium accessibility.

Sample text on black text
Text color#000000
Background#4F46E5
Contrast ratio3.34:1
WCAG levelFail
Sample text on white text
Text color#FFFFFF
Background#4F46E5
Contrast ratio6.29:1
WCAG levelAA
Recommended text preview
Text color#FFFFFF
Background#4F46E5
Contrast ratio6.29:1
WCAG levelAA

Technical Formats

Advanced color formats used in design systems.

HEX
#4F46E5
RGB
rgb(79, 70, 229)
HSL
hsl(243.4, 75.36%, 58.63%)
HSV
hsv(243.40 69.43% 89.80%)
LAB
lab(39.38 41.55 -80.97)
LCH
lch(39.38 91.00 297.16)
OKLAB
oklab(0.51 0.0279 -0.2284)
OKLCH
oklch(0.51 0.2301 276.97)
Display P3
color(display-p3 0.3038897057904778 0.2757670799488389 0.8646140680394615)
CSS Color Level 4
color(srgb 0.30980392156862746 0.27450980392156865 0.8980392156862745)
XYZ
color(xyz-d65 0.1956 0.1170 0.7536)
CMYK
cmyk(65.50% 69.43% 0.00% 10.20%)

Practical Formats

Variables, config files, and code snippets.

CSS Variable
--color-brand-primary: #4F46E5;
CSS RGB Variable
--color-brand-primary-rgb: 79, 70, 229;
SCSS Variable
$color-brand-primary: #4F46E5;
Tailwind Config
"brand-primary": "#4F46E5"
JavaScript
const brandprimary = "#4F46E5";
Design Token JSON
{
  "color": {
    "brand-primary": {
      "value": "#4F46E5",
      "type": "color"
    }
  }
}
SVG Fill
<rect fill="#4F46E5" />
Android XML
<color name="brand_primary">#4F46E5</color>
iOS Swift
UIColor(red: 0.310, green: 0.275, blue: 0.898, alpha: 1.0)
HSL CSS Variable
--color-brand-primary-hsl: 243.40 75.36% 58.63%;

Color Analysis

Deep dive into color properties and accessibility.

Closest Color Name
slateblue
Temperature
Cool
Hue Family
Blue
Relative Luminance
0.1170
Saturation Level
Highly saturated
Lightness Level
Medium

Blindness Simulator

How this color appears under color vision deficiencies.

Protanopia

Red-blind simulation

#4848E5

Deuteranopia

Green-blind simulation

#4949E5

Tritanopia

Blue-blind simulation

#3B5A5A

Achromatopsia

No-color simulation

#535353

Creative Aspects

Palettes, gradients, and moods.

Complementary

#4F46E5#DCE546

Analogous

#468CE5#4F46E5#9F46E5

Triadic

#4F46E5#E54F46#46E54F

Tetradic

#4F46E5#E5468C#DCE546#46E59F

Monochromatic

#C2A2FF#9173F2#4F46E5#2F24B1#000081

Tints

#FFFFFF#DBCEFA#B59FF4#8972ED#4F46E5

Shades

#4F46E5#232EC8#0016AB#00018F#000000

Gradient Flow

#467FE5#3E66E9#4F46E5#7446E5#9146E5

Design guidance

Balance

Treat #4F46E5 as a highlight. Pair it with neutrals and one supporting hue to avoid visual overload.

Contrast

Test combinations with real content. Higher contrast improves scanning, readability, and conversions.

Harmony

Use lighter tints for surfaces, the base color for primaries, and darker shades for hover or pressed states.

Need another color?

Jump back to the color picker to upload images, generate palettes, and explore new color relationships.

Pick Another Color