HSL(273, 70%, 37%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(273,70%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(273, 70%, 37%) | color: hsl(273, 70%, 37%) | |
| HEX | #651CA0 | color: #651CA0 | |
| RGB | rgb(101, 28, 160) | color: rgb(101, 28, 160) | |
| CMYK | cmyk(37%, 83%, 0%, 37%) | — | |
| HSV | hsv(273, 83%, 63%) | — | |
| HWB | hwb(273 11% 37%) | color: hwb(273 11% 37%) | |
| OKLCH | oklch(0.4194 0.1938 303.66) | color: oklch(0.4194 0.1938 303.66) | |
| Lab | lab(29.75 54.5 -56.53) | color: lab(29.75 54.5 -56.53) | |
| LCH | lch(29.75 78.52 313.95) | color: lch(29.75 78.52 313.95) |
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)
#454580 — rgb(69, 69, 128)
Deuteranopia (Green-blind)
#4A4F78 — rgb(74, 79, 120)
Tritanopia (Blue-blind)
#616761 — rgb(97, 103, 97)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(273, 70%, 37%);
text
color: hsl(273, 70%, 37%);
border
border: 2px solid hsl(273, 70%, 37%);
gradient light
background: linear-gradient(to right, hsl(273, 70%, 57%), hsl(273, 70%, 37%));
gradient dark
background: linear-gradient(to right, hsl(273, 70%, 37%), hsl(273, 70%, 17%))
hex
background-color: #651CA0;
tailwind
bg-[hsl(273,70%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(273, 70%, 37%, 0.4);
css variable
--color-primary: hsl(273, 70%, 37%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(273, 70%, 37%)?
HEX: #651CA0 | RGB: rgb(101, 28, 160) | CMYK: 37%, 83%, 0%, 37% | HSV: 273°, 83%, 63%. Copy any format from the conversion table above.
What colors go well with #651CA0?
The complementary color is HSL(93, 70%, 37%). For a triadic harmony, use hues 273°, 33°, and 153°. For analogous combinations, try hues 243° and 303°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(273, 70%, 37%) in CSS?
As HSL: color: hsl(273, 70%, 37%); — As HEX: color: #651CA0; — As RGB: color: rgb(101, 28, 160); — Tailwind CSS: bg-[hsl(273,70%,37%)] — CSS variable: --color-primary: hsl(273, 70%, 37%);