HSL(258, 99%, 64%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(258,99%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(258, 99%, 64%) | color: hsl(258, 99%, 64%) | |
| HEX | #7F48FE | color: #7F48FE | |
| RGB | rgb(127, 72, 254) | color: rgb(127, 72, 254) | |
| CMYK | cmyk(50%, 72%, 0%, 0%) | — | |
| HSV | hsv(258, 72%, 100%) | — | |
| HWB | hwb(258 28% 0%) | color: hwb(258 28% 0%) | |
| OKLCH | oklch(0.5744 0.2509 289.96) | color: oklch(0.5744 0.2509 289.96) | |
| Lab | lab(47.37 63.29 -82.1) | color: lab(47.37 63.29 -82.1) | |
| LCH | lch(47.37 103.66 307.63) | color: lch(47.37 103.66 307.63) |
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)
#6767D2 — rgb(103, 103, 210)
Deuteranopia (Green-blind)
#6A6FC7 — rgb(106, 111, 199)
Tritanopia (Blue-blind)
#7CAFA8 — rgb(124, 175, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(258, 99%, 64%);
text
color: hsl(258, 99%, 64%);
border
border: 2px solid hsl(258, 99%, 64%);
gradient light
background: linear-gradient(to right, hsl(258, 99%, 84%), hsl(258, 99%, 64%));
gradient dark
background: linear-gradient(to right, hsl(258, 99%, 64%), hsl(258, 99%, 44%))
hex
background-color: #7F48FE;
tailwind
bg-[hsl(258,99%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(258, 99%, 64%, 0.4);
css variable
--color-primary: hsl(258, 99%, 64%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(258, 99%, 64%)?
HEX: #7F48FE | RGB: rgb(127, 72, 254) | CMYK: 50%, 72%, 0%, 0% | HSV: 258°, 72%, 100%. Copy any format from the conversion table above.
What colors go well with #7F48FE?
The complementary color is HSL(78, 99%, 64%). For a triadic harmony, use hues 258°, 18°, and 138°. For analogous combinations, try hues 228° and 288°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(258, 99%, 64%) in CSS?
As HSL: color: hsl(258, 99%, 64%); — As HEX: color: #7F48FE; — As RGB: color: rgb(127, 72, 254); — Tailwind CSS: bg-[hsl(258,99%,64%)] — CSS variable: --color-primary: hsl(258, 99%, 64%);