HSL(264, 65%, 55%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(264,65%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(264, 65%, 55%) | color: hsl(264, 65%, 55%) | |
| HEX | #7D42D7 | color: #7D42D7 | |
| RGB | rgb(125, 66, 215) | color: rgb(125, 66, 215) | |
| CMYK | cmyk(42%, 69%, 0%, 16%) | — | |
| HSV | hsv(264, 69%, 84%) | — | |
| HWB | hwb(264 26% 16%) | color: hwb(264 26% 16%) | |
| OKLCH | oklch(0.5333 0.2146 296.5) | color: oklch(0.5333 0.2146 296.5) | |
| Lab | lab(43.01 55.73 -67.2) | color: lab(43.01 55.73 -67.2) | |
| LCH | lch(43.01 87.3 309.67) | color: lch(43.01 87.3 309.67) |
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)
#6363B3 — rgb(99, 99, 179)
Deuteranopia (Green-blind)
#676BAA — rgb(103, 107, 170)
Tritanopia (Blue-blind)
#7A9690 — rgb(122, 150, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(264, 65%, 55%);
text
color: hsl(264, 65%, 55%);
border
border: 2px solid hsl(264, 65%, 55%);
gradient light
background: linear-gradient(to right, hsl(264, 65%, 75%), hsl(264, 65%, 55%));
gradient dark
background: linear-gradient(to right, hsl(264, 65%, 55%), hsl(264, 65%, 35%))
hex
background-color: #7D42D7;
tailwind
bg-[hsl(264,65%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(264, 65%, 55%, 0.4);
css variable
--color-primary: hsl(264, 65%, 55%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(264, 65%, 55%)?
HEX: #7D42D7 | RGB: rgb(125, 66, 215) | CMYK: 42%, 69%, 0%, 16% | HSV: 264°, 69%, 84%. Copy any format from the conversion table above.
What colors go well with #7D42D7?
The complementary color is HSL(84, 65%, 55%). For a triadic harmony, use hues 264°, 24°, and 144°. For analogous combinations, try hues 234° and 294°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(264, 65%, 55%) in CSS?
As HSL: color: hsl(264, 65%, 55%); — As HEX: color: #7D42D7; — As RGB: color: rgb(125, 66, 215); — Tailwind CSS: bg-[hsl(264,65%,55%)] — CSS variable: --color-primary: hsl(264, 65%, 55%);