HSL(277, 45%, 34%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(277,45%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 45%, 34%) | color: hsl(277, 45%, 34%) | |
| HEX | #60307E | color: #60307E | |
| RGB | rgb(96, 48, 126) | color: rgb(96, 48, 126) | |
| CMYK | cmyk(24%, 62%, 0%, 51%) | — | |
| HSV | hsv(277, 62%, 49%) | — | |
| HWB | hwb(277 19% 51%) | color: hwb(277 19% 51%) | |
| OKLCH | oklch(0.4093 0.1316 310.23) | color: oklch(0.4093 0.1316 310.23) | |
| Lab | lab(29.68 36.32 -35.69) | color: lab(29.68 36.32 -35.69) | |
| LCH | lch(29.68 50.92 315.5) | color: lch(29.68 50.92 315.5) |
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)
#4B4B6B — rgb(75, 75, 107)
Deuteranopia (Green-blind)
#4E5267 — rgb(78, 82, 103)
Tritanopia (Blue-blind)
#5E5C59 — rgb(94, 92, 89)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 45%, 34%);
text
color: hsl(277, 45%, 34%);
border
border: 2px solid hsl(277, 45%, 34%);
gradient light
background: linear-gradient(to right, hsl(277, 45%, 54%), hsl(277, 45%, 34%));
gradient dark
background: linear-gradient(to right, hsl(277, 45%, 34%), hsl(277, 45%, 14%))
hex
background-color: #60307E;
tailwind
bg-[hsl(277,45%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 45%, 34%, 0.4);
css variable
--color-primary: hsl(277, 45%, 34%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 45%, 34%)?
HEX: #60307E | RGB: rgb(96, 48, 126) | CMYK: 24%, 62%, 0%, 51% | HSV: 277°, 62%, 49%. Copy any format from the conversion table above.
What colors go well with #60307E?
The complementary color is HSL(97, 45%, 34%). For a triadic harmony, use hues 277°, 37°, and 157°. For analogous combinations, try hues 247° and 307°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(277, 45%, 34%) in CSS?
As HSL: color: hsl(277, 45%, 34%); — As HEX: color: #60307E; — As RGB: color: rgb(96, 48, 126); — Tailwind CSS: bg-[hsl(277,45%,34%)] — CSS variable: --color-primary: hsl(277, 45%, 34%);