HSL(263, 60%, 34%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(263,60%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(263, 60%, 34%) | color: hsl(263, 60%, 34%) | |
| HEX | #4B238B | color: #4B238B | |
| RGB | rgb(75, 35, 139) | color: rgb(75, 35, 139) | |
| CMYK | cmyk(46%, 75%, 0%, 45%) | — | |
| HSV | hsv(263, 75%, 55%) | — | |
| HWB | hwb(263 14% 45%) | color: hwb(263 14% 45%) | |
| OKLCH | oklch(0.376 0.1606 295.03) | color: oklch(0.376 0.1606 295.03) | |
| Lab | lab(25.45 41.93 -50.8) | color: lab(25.45 41.93 -50.8) | |
| LCH | lch(25.45 65.87 309.54) | color: lch(25.45 65.87 309.54) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#3A3972 — rgb(58, 57, 114)
Deuteranopia (Green-blind)
#3C3F6C — rgb(60, 63, 108)
Tritanopia (Blue-blind)
#495E5A — rgb(73, 94, 90)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(263, 60%, 34%);
text
color: hsl(263, 60%, 34%);
border
border: 2px solid hsl(263, 60%, 34%);
gradient light
background: linear-gradient(to right, hsl(263, 60%, 54%), hsl(263, 60%, 34%));
gradient dark
background: linear-gradient(to right, hsl(263, 60%, 34%), hsl(263, 60%, 14%))
hex
background-color: #4B238B;
tailwind
bg-[hsl(263,60%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(263, 60%, 34%, 0.4);
css variable
--color-primary: hsl(263, 60%, 34%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(263, 60%, 34%)?
HEX: #4B238B | RGB: rgb(75, 35, 139) | CMYK: 46%, 75%, 0%, 45% | HSV: 263°, 75%, 55%. Copy any format from the conversion table above.
What colors go well with #4B238B?
The complementary color is HSL(83, 60%, 34%). For a triadic harmony, use hues 263°, 23°, and 143°. For analogous combinations, try hues 233° and 293°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(263, 60%, 34%) in CSS?
As HSL: color: hsl(263, 60%, 34%); — As HEX: color: #4B238B; — As RGB: color: rgb(75, 35, 139); — Tailwind CSS: bg-[hsl(263,60%,34%)] — CSS variable: --color-primary: hsl(263, 60%, 34%);