HSL(260, 70%, 27%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(260,70%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(260, 70%, 27%) | color: hsl(260, 70%, 27%) | |
| HEX | #351575 | color: #351575 | |
| RGB | rgb(53, 21, 117) | color: rgb(53, 21, 117) | |
| CMYK | cmyk(55%, 82%, 0%, 54%) | — | |
| HSV | hsv(260, 82%, 46%) | — | |
| HWB | hwb(260 8% 54%) | color: hwb(260 8% 54%) | |
| OKLCH | oklch(0.3131 0.1492 290.03) | color: oklch(0.3131 0.1492 290.03) | |
| Lab | lab(18.26 38.98 -48.75) | color: lab(18.26 38.98 -48.75) | |
| LCH | lch(18.26 62.42 308.65) | color: lch(18.26 62.42 308.65) |
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)
#27275E — rgb(39, 39, 94)
Deuteranopia (Green-blind)
#292B58 — rgb(41, 43, 88)
Tritanopia (Blue-blind)
#334B47 — rgb(51, 75, 71)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(260, 70%, 27%);
text
color: hsl(260, 70%, 27%);
border
border: 2px solid hsl(260, 70%, 27%);
gradient light
background: linear-gradient(to right, hsl(260, 70%, 47%), hsl(260, 70%, 27%));
gradient dark
background: linear-gradient(to right, hsl(260, 70%, 27%), hsl(260, 70%, 7%))
hex
background-color: #351575;
tailwind
bg-[hsl(260,70%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(260, 70%, 27%, 0.4);
css variable
--color-primary: hsl(260, 70%, 27%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(260, 70%, 27%)?
HEX: #351575 | RGB: rgb(53, 21, 117) | CMYK: 55%, 82%, 0%, 54% | HSV: 260°, 82%, 46%. Copy any format from the conversion table above.
What colors go well with #351575?
The complementary color is HSL(80, 70%, 27%). 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, 70%, 27%) in CSS?
As HSL: color: hsl(260, 70%, 27%); — As HEX: color: #351575; — As RGB: color: rgb(53, 21, 117); — Tailwind CSS: bg-[hsl(260,70%,27%)] — CSS variable: --color-primary: hsl(260, 70%, 27%);