HSL(265, 40%, 48%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(265,40%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(265, 40%, 48%) | color: hsl(265, 40%, 48%) | |
| HEX | #7249AB | color: #7249AB | |
| RGB | rgb(114, 73, 171) | color: rgb(114, 73, 171) | |
| CMYK | cmyk(33%, 57%, 0%, 33%) | — | |
| HSV | hsv(265, 57%, 67%) | — | |
| HWB | hwb(265 29% 33%) | color: hwb(265 29% 33%) | |
| OKLCH | oklch(0.4994 0.152 300.26) | color: oklch(0.4994 0.152 300.26) | |
| Lab | lab(40.05 38.28 -46.38) | color: lab(40.05 38.28 -46.38) | |
| LCH | lch(40.05 60.14 309.53) | color: lch(40.05 60.14 309.53) |
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)
#606093 — rgb(96, 96, 147)
Deuteranopia (Green-blind)
#63668E — rgb(99, 102, 142)
Tritanopia (Blue-blind)
#70817C — rgb(112, 129, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(265, 40%, 48%);
text
color: hsl(265, 40%, 48%);
border
border: 2px solid hsl(265, 40%, 48%);
gradient light
background: linear-gradient(to right, hsl(265, 40%, 68%), hsl(265, 40%, 48%));
gradient dark
background: linear-gradient(to right, hsl(265, 40%, 48%), hsl(265, 40%, 28%))
hex
background-color: #7249AB;
tailwind
bg-[hsl(265,40%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(265, 40%, 48%, 0.4);
css variable
--color-primary: hsl(265, 40%, 48%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(265, 40%, 48%)?
HEX: #7249AB | RGB: rgb(114, 73, 171) | CMYK: 33%, 57%, 0%, 33% | HSV: 265°, 57%, 67%. Copy any format from the conversion table above.
What colors go well with #7249AB?
The complementary color is HSL(85, 40%, 48%). For a triadic harmony, use hues 265°, 25°, and 145°. For analogous combinations, try hues 235° and 295°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(265, 40%, 48%) in CSS?
As HSL: color: hsl(265, 40%, 48%); — As HEX: color: #7249AB; — As RGB: color: rgb(114, 73, 171); — Tailwind CSS: bg-[hsl(265,40%,48%)] — CSS variable: --color-primary: hsl(265, 40%, 48%);