HSL(260, 60%, 48%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(260,60%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(260, 60%, 48%) | color: hsl(260, 60%, 48%) | |
| HEX | #6231C4 | color: #6231C4 | |
| RGB | rgb(98, 49, 196) | color: rgb(98, 49, 196) | |
| CMYK | cmyk(50%, 75%, 0%, 23%) | — | |
| HSV | hsv(260, 75%, 77%) | — | |
| HWB | hwb(260 19% 23%) | color: hwb(260 19% 23%) | |
| OKLCH | oklch(0.4689 0.211 291.19) | color: oklch(0.4689 0.211 291.19) | |
| Lab | lab(35.55 54.42 -68.5) | color: lab(35.55 54.42 -68.5) | |
| LCH | lch(35.55 87.49 308.47) | color: lch(35.55 87.49 308.47) |
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)
#4D4CA0 — rgb(77, 76, 160)
Deuteranopia (Green-blind)
#505398 — rgb(80, 83, 152)
Tritanopia (Blue-blind)
#60847E — rgb(96, 132, 126)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(260, 60%, 48%);
text
color: hsl(260, 60%, 48%);
border
border: 2px solid hsl(260, 60%, 48%);
gradient light
background: linear-gradient(to right, hsl(260, 60%, 68%), hsl(260, 60%, 48%));
gradient dark
background: linear-gradient(to right, hsl(260, 60%, 48%), hsl(260, 60%, 28%))
hex
background-color: #6231C4;
tailwind
bg-[hsl(260,60%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(260, 60%, 48%, 0.4);
css variable
--color-primary: hsl(260, 60%, 48%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(260, 60%, 48%)?
HEX: #6231C4 | RGB: rgb(98, 49, 196) | CMYK: 50%, 75%, 0%, 23% | HSV: 260°, 75%, 77%. Copy any format from the conversion table above.
What colors go well with #6231C4?
The complementary color is HSL(80, 60%, 48%). For a triadic harmony, use hues 260°, 20°, and 140°. For analogous combinations, try hues 230° and 290°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(260, 60%, 48%) in CSS?
As HSL: color: hsl(260, 60%, 48%); — As HEX: color: #6231C4; — As RGB: color: rgb(98, 49, 196); — Tailwind CSS: bg-[hsl(260,60%,48%)] — CSS variable: --color-primary: hsl(260, 60%, 48%);